1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-03 09:07:19 +00:00

Allow options to disable user gpg keys configuration from the interface on app.ini (#29486)

Follow #29447
Fix #29454 
Extract from #20549
This commit is contained in:
Lunny Xiao
2024-03-02 09:21:01 +08:00
committed by GitHub
parent 85ad4a0f7d
commit 9de5e39e25
7 changed files with 31 additions and 4 deletions

View File

@ -2,6 +2,8 @@
<div class="user-setting-content">
{{template "user/settings/keys_ssh" .}}
{{template "user/settings/keys_principal" .}}
{{if not ($.UserDisabledFeatures.Contains "manage_gpg_keys")}}
{{template "user/settings/keys_gpg" .}}
{{end}}
</div>
{{template "user/settings/layout_footer" .}}