lib/generators/authentication/templates/controllers/html/password_resets_controller.rb.tt in authentication-zero-1.0.1 vs lib/generators/authentication/templates/controllers/html/password_resets_controller.rb.tt in authentication-zero-1.0.2

- old
+ new

@@ -12,10 +12,10 @@ def create if @<%= singular_table_name %> = <%= class_name %>.find_by_email(params[:email]) PasswordMailer.with(<%= singular_table_name %>: @<%= singular_table_name %>).reset.deliver_later redirect_to sign_in_path, notice: "You will receive an email with instructions on how to reset your password in a few minutes" else - redirect_to new_password_resets_path(email_hint: params[:email]), alert: "The email address doesn't exist in our database" + redirect_to new_password_resets_path, alert: "Sorry, we didn't recognize that email address" end end def update if @<%= singular_table_name %>.update(<%= "#{singular_table_name}_params" %>)