search for: has_secured_password

Displaying 1 result from an estimated 1 matches for "has_secured_password".

Did you mean: has_secure_password
2012 Sep 17
1
require current_password to update user information
...n this for two days and can''t figure out why its not working. I want users to confirm/verify themselves by entering their current/old password before any information is updated. This is what My user_controller update action looks like I''m currently using rails 3.2 with the basic has_secured_password authentication that comes with it. def update @user = User.find(params[:id]) respond_to do |format| if @user.update_attributes(params[:user]) format.html { redirect_to users_url, notice: "User #{@user.name} was successfully updated." } format.json {...