mirror of
https://github.com/Mailu/Mailu.git
synced 2024-12-12 10:45:38 +02:00
Respect user.enabled status in internal authentication
This commit is contained in:
parent
d2c6cecca6
commit
92f4858323
@ -51,7 +51,7 @@ def handle_authentication(headers):
|
||||
status = False
|
||||
elif protocol == "pop3" and not user.enable_pop:
|
||||
status = False
|
||||
if status:
|
||||
if status and user.enabled:
|
||||
return {
|
||||
"Auth-Status": "OK",
|
||||
"Auth-Server": server,
|
||||
|
Loading…
Reference in New Issue
Block a user