1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-01-20 03:29:50 +02:00

Respect user.enabled status in internal authentication

This commit is contained in:
Stefan Auditor 2018-04-15 13:43:30 +02:00
parent 733b89bff5
commit 6fc22e5432

@ -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,