From 54254084e6073cb71e41e593def7c5c1d844b3a8 Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Tue, 17 Dec 2024 12:17:23 +0100 Subject: [PATCH] Set AUTH_REQUIRE_TOKENS=True --- roles/docker-mailu/templates/mailu.env.j2 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/roles/docker-mailu/templates/mailu.env.j2 b/roles/docker-mailu/templates/mailu.env.j2 index b0d8372d..939b1440 100644 --- a/roles/docker-mailu/templates/mailu.env.j2 +++ b/roles/docker-mailu/templates/mailu.env.j2 @@ -145,4 +145,7 @@ LOG_LEVEL=WARNING SQLALCHEMY_DATABASE_URI_ROUNDCUBE=mysql://{{database_username}}:{{database_password}}@{{database_host}}/{{database_name}}?collation=utf8mb4_unicode_ci SQLALCHEMY_DATABASE_URI=mysql+mysqlconnector://{{database_username}}:{{database_password}}@{{database_host}}/{{database_name}}?collation=utf8mb4_unicode_ci -API_TOKEN={{mailu_api_token}} \ No newline at end of file +API_TOKEN={{mailu_api_token}} + +# Activated https://mailu.io/master/configuration.html#advanced-settings +AUTH_REQUIRE_TOKENS=True \ No newline at end of file