diff options
author | Frederick Muriuki Muriithi | 2024-06-03 16:10:01 -0500 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2024-06-03 16:10:01 -0500 |
commit | 8036499cbe96543d3e1c571e241d1dd212c644a9 (patch) | |
tree | e2296a3b56d8f09bddd264c2d361ba91c2a504d4 /gn2/wqflask/oauth2 | |
parent | 4c4d91d03a873969315727918206097a0d89bb19 (diff) | |
download | genenetwork2-8036499cbe96543d3e1c571e241d1dd212c644a9.tar.gz |
Ensure endpoint returns a response.
Diffstat (limited to 'gn2/wqflask/oauth2')
-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(): |