lib/generators/authentication/templates/controllers/html/passwords_controller.rb.tt in authentication-zero-2.0.0 vs lib/generators/authentication/templates/controllers/html/passwords_controller.rb.tt in authentication-zero-2.1.0

- old
+ new

@@ -6,10 +6,10 @@ def update if !@<%= singular_table_name %>.authenticate(params[:current_password]) redirect_to edit_passwords_path, alert: "The current password you entered is incorrect" elsif @<%= singular_table_name %>.update(<%= "#{singular_table_name}_params" %>) - redirect_to root_path, notice: "Your password has been changed successfully" + redirect_to root_path, notice: "Your password has been changed" else render :edit, status: :unprocessable_entity end end