It is meant to be used only when users forget they password and they receive a token via e-mail.
Hi all,
I'm new to Devise and something strikes me.
Looks like the "normal" way to change a user's password with devise is through the registration#edit action.
However, there is a password#edit action, as well as a route /users/password/edit that I kinda like.
What I find strange is that this is behind a :require_no_authentication filter !
Therefore I have a hard time understanding what this action is supposed to be.
Additionally, I would expect it to ask for the password of the current user (for confirmation) but it does not. There is a hidden token though, is this enough in term of security?
Started GET "/users/password/edit" for 127.0.0.1 at 2012-06-05 10:01:24 +0200
Processing by Devise::PasswordsController#edit as HTML
User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
Redirected to http://localhost:3000/
Filter chain halted as :require_no_authentication rendered or redirected
Thanks