aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorMuriithi Frederick Muriuki2018-04-15 09:53:21 +0300
committerMuriithi Frederick Muriuki2018-04-15 09:53:21 +0300
commitea099c2820fbca3f935fb8dc657b88e71224cded (patch)
treeeb7b0d8e711017d0f728cc854605756ae7d52562 /wqflask
parent9396ba78aa204a7f9474c314ca5a519c48ba042c (diff)
downloadgenenetwork2-ea099c2820fbca3f935fb8dc657b88e71224cded.tar.gz
Fix issue with indentation
* Ensure the return is at the correct indentation level so that it is executed correctly.
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/user_manager.py5
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")