diff options
author | Frederick Muriuki Muriithi | 2023-01-30 19:14:15 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2023-01-30 19:14:15 +0300 |
commit | 294aac4c2463a266f4b71e98a9c71b518b387a50 (patch) | |
tree | 0a3546ed71d2a268372297245c7f1bffb4930d98 | |
parent | 04a07b4f20da9a942b8ded979e0828ba5d60e89d (diff) | |
download | genenetwork2-294aac4c2463a266f4b71e98a9c71b518b387a50.tar.gz |
oauth2: update url
-rw-r--r-- | wqflask/wqflask/oauth2/checks.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/wqflask/oauth2/checks.py b/wqflask/wqflask/oauth2/checks.py index a2cf9ed4..ccb2c3f7 100644 --- a/wqflask/wqflask/oauth2/checks.py +++ b/wqflask/wqflask/oauth2/checks.py @@ -29,6 +29,6 @@ def require_oauth2(func): session.pop("user_details", None) flash("You need to be logged in.", "alert-warning") - return redirect(url_for("oauth2.login", next=request.endpoint)) + return redirect(url_for("oauth2.toplevel.login", next=request.endpoint)) return __token_valid__ |