From 4c8601dac9298cb8a15e887de8be2ec07f50e142 Mon Sep 17 00:00:00 2001 From: niten Date: Tue, 6 Feb 2024 14:42:23 -0800 Subject: [PATCH] Disallow username changes --- authentik-container.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/authentik-container.nix b/authentik-container.nix index 21620fc..9c74355 100644 --- a/authentik-container.nix +++ b/authentik-container.nix @@ -142,6 +142,8 @@ in { AUTHENTIK_SECRET_KEY = readFile authentikSecretKeyFile; + AUTHENTIK_DEFAULT_USER_CHANGE_USERNAME = toString false; + AUTHENTIK_EMAIL__HOST = cfg.smtp.host; AUTHENTIK_EMAIL__PORT = toString cfg.smtp.port; AUTHENTIK_EMAIL__USERNAME = cfg.smtp.user;