You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: custom/conf/app.example.ini
+10-2Lines changed: 10 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1488,15 +1488,19 @@ LEVEL = Info
1488
1488
;;
1489
1489
;; Default configuration for email notifications for users (user configurable). Options: enabled, onmention, disabled
1490
1490
;DEFAULT_EMAIL_NOTIFICATIONS = enabled
1491
-
;; Disabled features for users, could be "deletion", "manage_ssh_keys","manage_gpg_keys" more features can be disabled in future
1491
+
;; Disabled features for users could be "deletion", "manage_ssh_keys","manage_gpg_keys", "manage_mfa", "manage_credentials" more features can be disabled in future
1492
1492
;; - deletion: a user cannot delete their own account
1493
1493
;; - manage_ssh_keys: a user cannot configure ssh keys
1494
1494
;; - manage_gpg_keys: a user cannot configure gpg keys
1495
+
;; - manage_mfa: a user cannot configure mfa devices
1496
+
;; - manage_credentials: a user cannot configure emails, passwords, or openid
1495
1497
;USER_DISABLED_FEATURES =
1496
-
;; Comma separated list of disabled features ONLY if the user has an external login type (eg. LDAP, Oauth, etc.), could be `deletion`, `manage_ssh_keys`, `manage_gpg_keys`. This setting is independent from `USER_DISABLED_FEATURES` and supplements its behavior.
1498
+
;; Comma separated list of disabled features ONLY if the user has an external login type (eg. LDAP, Oauth, etc.), could be "deletion", "manage_ssh_keys", "manage_gpg_keys", "manage_mfa", "manage_credentials". This setting is independent from `USER_DISABLED_FEATURES` and supplements its behavior.
1497
1499
;; - deletion: a user cannot delete their own account
1498
1500
;; - manage_ssh_keys: a user cannot configure ssh keys
1499
1501
;; - manage_gpg_keys: a user cannot configure gpg keys
1502
+
;; - manage_mfa: a user cannot configure mfa devices
1503
+
;; - manage_credentials: a user cannot configure emails, passwords, or openid
;; Sometimes it is helpful to use a different address on the envelope. Set this to use ENVELOPE_FROM as the from on the envelope. Set to `<>` to send an empty address.
1673
1677
;ENVELOPE_FROM =
1674
1678
;;
1679
+
;; If gitea sends mails on behave of users, it will just use the name also displayed in the WebUI. If you want e.g. `Mister X (by CodeIt) <[email protected]>`,
1680
+
;; set it to `{{ .DisplayName }} (by {{ .AppName }})`. Available Variables: `.DisplayName`, `.AppName` and `.Domain`.
1681
+
;FROM_DISPLAY_NAME_FORMAT = {{ .DisplayName }}
1682
+
;;
1675
1683
;; Mailer user name and password, if required by provider.
0 commit comments