actually check if user is banned
This commit is contained in:
parent
35673d4cc5
commit
18f3803856
|
@ -110,8 +110,8 @@ def banned_user_check(access_user):
|
|||
|
||||
allbans = [(user['username'].lower(), user['domain'].lower()) for user in users]
|
||||
|
||||
print(allbans)
|
||||
return allbans
|
||||
if access_user in allbans:
|
||||
return True
|
||||
|
||||
|
||||
def ban_check(url):
|
||||
|
|
Loading…
Reference in a new issue