Skip to content

Commit 510acfc

Browse files
author
Lenhard Reuter
committed
Set admin on false on logout
1 parent 64c1669 commit 510acfc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

learners/routes/authentication.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,5 @@ def modify_token():
4949
success_msg = "Successfully logged out."
5050
cfg.template["authenticated"] = False
5151
cfg.template["vnc_clients"] = None
52+
cfg.template["admin"] = None
5253
return render_template("login.html", **cfg.template, success_msg=success_msg)

0 commit comments

Comments
 (0)