mirror of
https://github.com/go-gitea/gitea
synced 2025-07-03 09:07:19 +00:00
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>
This commit is contained in:
@ -1,6 +1,8 @@
|
||||
{{template "user/settings/layout_head" (dict "ctxData" . "pageClass" "user settings sshkeys")}}
|
||||
<div class="user-setting-content">
|
||||
{{template "user/settings/keys_ssh" .}}
|
||||
{{if not ($.UserDisabledFeatures.Contains "manage_ssh_keys")}}
|
||||
{{template "user/settings/keys_ssh" .}}
|
||||
{{end}}
|
||||
{{template "user/settings/keys_principal" .}}
|
||||
{{if not ($.UserDisabledFeatures.Contains "manage_gpg_keys")}}
|
||||
{{template "user/settings/keys_gpg" .}}
|
||||
|
Reference in New Issue
Block a user