aboutsummaryrefslogtreecommitdiff
path: root/gn2
diff options
context:
space:
mode:
authorMunyoki Kilyungi2024-05-14 15:33:00 +0300
committerMunyoki Kilyungi2024-05-14 15:34:18 +0300
commit16f978ecdaf450cfa700bd6e78194831ed9a8f57 (patch)
tree25c3644d14c346e9eac396e0de3c59dffd3f890f /gn2
parent1202ce35e22ec765deacf65724fbaa235aeafb20 (diff)
downloadgenenetwork2-16f978ecdaf450cfa700bd6e78194831ed9a8f57.tar.gz
Use correct URL when redirecting user after a new registration.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'gn2')
-rw-r--r--gn2/wqflask/oauth2/users.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gn2/wqflask/oauth2/users.py b/gn2/wqflask/oauth2/users.py
index 2407703c..8a935170 100644
--- a/gn2/wqflask/oauth2/users.py
+++ b/gn2/wqflask/oauth2/users.py
@@ -116,7 +116,7 @@ def register_user():
return redirect(url_for("oauth2.user.register_user"))
flash("Registration successful! Please login to continue.", "alert-success")
- return redirect(url_for("/"))
+ return redirect("/")
@users.route("/masquerade", methods=["GET", "POST"])
def masquerade():