1
0
mirror of https://github.com/Mailu/Mailu.git synced 2024-12-14 10:53:30 +02:00

fix small typo in Auth-SSL

This commit is contained in:
lub 2020-09-02 15:16:10 +02:00 committed by GitHub
parent d348477efc
commit 05e2af1802
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,7 +33,7 @@ def handle_authentication(headers):
if method == "none" and protocol == "smtp":
server, port = get_server(protocol, False)
if app.config["INBOUND_TLS_ENFORCE"]:
if "Auth-SSl" in headers and headers["Auth-SSL"] == "on":
if "Auth-SSL" in headers and headers["Auth-SSL"] == "on":
return {
"Auth-Status": "OK",
"Auth-Server": server,