Verified Commit 86bd40ee authored by Ziirish's avatar Ziirish

fix: allow to load a user from a cookie

parent 63845992
......@@ -235,10 +235,10 @@ class UserHandler(BUIuser):
username = session_manager.get_session_username() or \
session.get('login')
self.real = None
if not username:
return
self.name = username
if not self.name:
return
def _load_from_backend(backend, username):
if not backend:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment