aboutsummaryrefslogtreecommitdiff
path: root/uploader/oauth2/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'uploader/oauth2/views.py')
-rw-r--r--uploader/oauth2/views.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/uploader/oauth2/views.py b/uploader/oauth2/views.py
index 40211c8..6e1ce29 100644
--- a/uploader/oauth2/views.py
+++ b/uploader/oauth2/views.py
@@ -133,3 +133,5 @@ def logout():
cleanup_thunk=lambda: __unset_session__(
session.session_info())),
lambda res: __unset_session__(session.session_info()))
+ flash("There is no user that is currently logged in.", "alert-info")
+ return redirect("/")