core: make defaults for _change_email and _change_username configurable

closes #1789

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer
2021-11-13 22:33:03 +01:00
parent f069cfb643
commit 88516ba2ca
3 changed files with 26 additions and 2 deletions

View File

@ -149,6 +149,22 @@ Configure how authentik should show avatars for users. Following values can be s
- `%(mail_hash)s`: The email address, md5 hashed
- `%(upn)s`: The user's UPN, if set (otherwise an empty string)
### AUTHENTIK_DEFAULT_USER_CHANGE_EMAIL
:::info
Requires authentik 2021.10.5
:::
Enable the ability for users to change their Email address, defaults to `true`.
### AUTHENTIK_DEFAULT_USER_CHANGE_USERNAME
:::info
Requires authentik 2021.10.5
:::
Enable the ability for users to change their Usernames, defaults to `true`.
## Debugging
To check if your config has been applied correctly, you can run the following command to output the full config: