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

- old
+ new

@@ -9,10 +9,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 else - render json: { error: "The email address doesn't exist in our database" }, status: :not_found + render json: { error: "Sorry, we didn't recognize that email address" }, status: :not_found end end def update if @<%= singular_table_name %>.update(<%= "#{singular_table_name}_params" %>)