From e7eeb3d112cf3c55d4a308138da12903589ac3ff Mon Sep 17 00:00:00 2001 From: Moritz Date: Tue, 28 Mar 2023 21:46:00 +0200 Subject: [PATCH] prevent username change --- .env.sample | 2 +- release/next | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 release/next diff --git a/.env.sample b/.env.sample index 7e83ab0..f5dbecb 100644 --- a/.env.sample +++ b/.env.sample @@ -3,7 +3,7 @@ LETS_ENCRYPT_ENV=production DOMAIN=authentik.example.com COMPOSE_FILE="compose.yml" -AUTHENTIK_ERROR_REPORTING__ENABLED=true +AUTHENTIK_DEFAULT_USER_CHANGE_USERNAME=false AUTHENTIK_LOG_LEVEL=info # AUTHENTIK_IMPERSONATION=true # AUTHENTIK_FOOTER_LINKS='[{"name": "My Organization","href":"https://example.com"}]' diff --git a/release/next b/release/next new file mode 100644 index 0000000..d316288 --- /dev/null +++ b/release/next @@ -0,0 +1,3 @@ +Env recommendation: AUTHENTIK_DEFAULT_USER_CHANGE_USERNAME=false +This prevents users from changing their username. +Changing the username can be a security risk and it can break things.