mirror of
https://github.com/Mailu/Mailu.git
synced 2025-03-05 14:55:20 +02:00
parent
0b25854de0
commit
8775dc5b15
@ -32,7 +32,7 @@ def nginx_authentication():
|
||||
for key, value in headers.items():
|
||||
response.headers[key] = str(value)
|
||||
is_valid_user = False
|
||||
if response.headers.get("Auth-User-Exists"):
|
||||
if response.headers.get("Auth-User-Exists")=="True":
|
||||
username = response.headers["Auth-User"]
|
||||
if utils.limiter.should_rate_limit_user(username, client_ip):
|
||||
# FIXME could be done before handle_authentication()
|
||||
|
Loading…
x
Reference in New Issue
Block a user