diff options
author | Frederick Muriuki Muriithi | 2024-06-03 16:10:01 -0500 |
---|---|---|
committer | Alexander_Kabui | 2024-08-28 15:02:45 +0300 |
commit | 111593d7e1685db33188eb03685210db6656c0c8 (patch) | |
tree | 127ce21669dcc7703a36ba0344360a04385abbda | |
parent | 385b6b861e6586bf1dd985b3aa416124835f07a1 (diff) | |
download | genenetwork2-111593d7e1685db33188eb03685210db6656c0c8.tar.gz |
Ensure endpoint returns a response.
-rw-r--r-- | gn2/wqflask/oauth2/users.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gn2/wqflask/oauth2/users.py b/gn2/wqflask/oauth2/users.py index 8a935170..ed88aaa4 100644 --- a/gn2/wqflask/oauth2/users.py +++ b/gn2/wqflask/oauth2/users.py @@ -84,7 +84,8 @@ def logout(): f"{the_session['masquerading']['name']} " f"({the_session['masquerading']['email']})", "alert-success") - return redirect("/") + + return redirect("/") @users.route("/register", methods=["GET", "POST"]) def register_user(): |