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> (cherry picked from commit 8e12ba34bab7e728ac93ccfaecbe91e053ef1c89) Conflicts: custom/conf/app.example.ini trivial context conflict
This commit is contained in:
parent
eadf1d4fa3
commit
bb09ad2b63
7 changed files with 40 additions and 7 deletions
|
@ -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" .}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue