Improve error

This commit is contained in:
Son NK 2020-03-18 21:37:45 +01:00
parent 2079b16431
commit a1fad2216f
1 changed files with 1 additions and 1 deletions

View File

@ -340,7 +340,7 @@ def forgot_password():
user = User.get_by(email=email)
if not user:
return jsonify(error="Error"), 400
return jsonify(error="Email not found"), 400
send_reset_password_email(user)