From 373e6d2161ec5ca8c565e0ab8bdfed21053444d2 Mon Sep 17 00:00:00 2001 From: Florent Daigniere Date: Tue, 15 Mar 2022 12:41:31 +0100 Subject: [PATCH] doh --- core/admin/mailu/internal/views/autoconfig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/admin/mailu/internal/views/autoconfig.py b/core/admin/mailu/internal/views/autoconfig.py index a4816f22..9158f185 100644 --- a/core/admin/mailu/internal/views/autoconfig.py +++ b/core/admin/mailu/internal/views/autoconfig.py @@ -47,7 +47,7 @@ def autoconfig_microsoft_json(): hostname = app.config['HOSTNAME'] json = f'{"Protocol":"Autodiscoverv1","Url":"https://{hostname}/autodiscover/autodiscover.xml"}' return flask.Response(json, mimetype='application/json', status=200) - else + else: return flask.abort(404) @internal.route("/autoconfig/microsoft", methods=['GET', 'POST'])