aboutsummaryrefslogtreecommitdiffstats
path: root/custom/conf
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2024-03-04 15:50:21 +0800
committerGitHub <noreply@github.com>2024-03-04 07:50:21 +0000
commit8e12ba34bab7e728ac93ccfaecbe91e053ef1c89 (patch)
treeed8b8a77e90fd3b29cfb93adaf89e6840efe90a6 /custom/conf
parentd769b664dedb5f63b73146b58b21c0a772c2630d (diff)
downloadgitea-8e12ba34bab7e728ac93ccfaecbe91e053ef1c89.tar.gz
gitea-8e12ba34bab7e728ac93ccfaecbe91e053ef1c89.zip
Allow options to disable user ssh keys configuration from the interface on app.ini (#29447)
Follow #29275 Extract from #20549 Fix #24716 --------- Co-authored-by: delvh <dev.lh@web.de>
Diffstat (limited to 'custom/conf')
-rw-r--r--custom/conf/app.example.ini3
1 files changed, 2 insertions, 1 deletions
diff --git a/custom/conf/app.example.ini b/custom/conf/app.example.ini
index dc5aa691ee..17d6cd3a35 100644
--- a/custom/conf/app.example.ini
+++ b/custom/conf/app.example.ini
@@ -1480,8 +1480,9 @@ LEVEL = Info
;;
;; Default configuration for email notifications for users (user configurable). Options: enabled, onmention, disabled
;DEFAULT_EMAIL_NOTIFICATIONS = enabled
-;; Disabled features for users, could be "deletion","manage_gpg_keys" more features can be disabled in future
+;; Disabled features for users, could be "deletion", "manage_ssh_keys","manage_gpg_keys" more features can be disabled in future
;; - deletion: a user cannot delete their own account
+;; - manage_ssh_keys: a user cannot configure ssh keys
;; - manage_gpg_keys: a user cannot configure gpg keys
;USER_DISABLED_FEATURES =