Displaying 1 result from an estimated 1 matches for "restful_authentication_sha1".
2010 Aug 09
0
Devise :current_password validations and checking (how???)
..._password to the
params[:user][:current_password] I tried to submit in the form. Meaning
how can the devise check the submitted params[:user][:current_password]
to match and validate on the current_user.pasword
This is my code, i''m using HAML
I''m also using config.encryptor = :restful_authentication_sha1
since I migrated from auth_logic to devise authentication tool
"Views/Settings/change_password.haml" goes like this
***************************************************************
%aside#sidebar
%nav.leftbar
%ul
%li.pwd= link_to "Password", change_password_path
%s...