diff options
author | Muriithi Frederick Muriuki | 2018-04-15 09:53:21 +0300 |
---|---|---|
committer | Muriithi Frederick Muriuki | 2018-04-15 09:53:21 +0300 |
commit | ea099c2820fbca3f935fb8dc657b88e71224cded (patch) | |
tree | eb7b0d8e711017d0f728cc854605756ae7d52562 | |
parent | 9396ba78aa204a7f9474c314ca5a519c48ba042c (diff) | |
download | genenetwork2-ea099c2820fbca3f935fb8dc657b88e71224cded.tar.gz |
Fix issue with indentation
* Ensure the return is at the correct indentation level so that it is
executed correctly.
-rw-r--r-- | wqflask/wqflask/user_manager.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/wqflask/wqflask/user_manager.py b/wqflask/wqflask/user_manager.py index 9d09dbf6..d652f2e9 100644 --- a/wqflask/wqflask/user_manager.py +++ b/wqflask/wqflask/user_manager.py @@ -747,8 +747,9 @@ def forgot_password_submit(): user_details = get_user_by_unique_column(es, "email_address", email_address) if user_details: ForgotPasswordEmail(user_details["email_address"]) - return render_template("new_security/forgot_password_step2.html", - subject=ForgotPasswordEmail.subject) + + return render_template("new_security/forgot_password_step2.html", + subject=ForgotPasswordEmail.subject) else: flash("You MUST provide an email", "alert-danger") |