Project

General

Profile

Reset password via ReST API

Added by Daniel Kastl almost 7 years ago

Is there a a way to reset a password via ReST API?

I tried to submit a POST request to /account/lost_password similar to the form on the lost password page, but this would require an "authenticity_token".

Do you know, how to submit a lost password request without going to the /account/lost_password page?


Replies (1)

RE: Reset password via ReST API - Added by Mischa The Evil almost 7 years ago

You could send a PUT-request to the /users/:id.:format endpoint. See Rest_Users.

    (1-1/1)