Browse Source

Add a section on user preference customization to env.example

Bubka 4 months ago
parent
commit
9d36595904
1 changed files with 9 additions and 0 deletions
  1. 9 0
      .env.example

+ 9 - 0
.env.example

@@ -282,6 +282,15 @@ PROXY_FOR_OUTGOING_REQUESTS=null
 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.
 # Unless you like to tinker and know what you're doing.