Add a section on user preference customization to env.example

This commit is contained in:
Bubka 2025-03-26 17:18:50 +01:00
parent 2a728a2e8d
commit 9d36595904

View File

@ -282,6 +282,15 @@ PROXY_FOR_OUTGOING_REQUESTS=null
CONTENT_SECURITY_POLICY=true CONTENT_SECURITY_POLICY=true
# User preferences can be enforced and/or locked.
# This is done by setting additional environment variables with dedicated names.
# See https://docs.2fauth.app/getting-started/config/user-preferences/
# Example to enforce light theme to all users:
# USERPREF_DEFAULT__THEME=light
# USERPREF_LOCKED__THEME=true
# Leave the following configuration vars as is. # Leave the following configuration vars as is.
# Unless you like to tinker and know what you're doing. # Unless you like to tinker and know what you're doing.