Fixes in check_login function
This commit is contained in:
parent
da9a37a406
commit
fc050cdf40
1 changed files with 5 additions and 3 deletions
|
|
@ -53,6 +53,8 @@ def check_login():
|
|||
|
||||
if 'login' in s:
|
||||
|
||||
if 'privileges' in s:
|
||||
|
||||
if s['privileges']==2:
|
||||
|
||||
return True
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue