Skip to content

Commit 7fb6b51

Browse files
Remove duplicate option in admin screen and now-unused translation keys (#28492)
Resolves #28451. This change follows the recommendation by wxiaoguang to remove the "Disable Minimum Key Size Check" from the "Service Configuration" section of the UI, because this option belongs to the "SSH Configuration" section of the administration menu and already has a functioning indicator in that section of the UI. --------- Co-authored-by: wxiaoguang <[email protected]>
1 parent 72529d6 commit 7fb6b51

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

options/locale/locale_en-US.ini

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3080,7 +3080,6 @@ config.enable_openid_signin = Enable OpenID Sign-In
30803080
config.show_registration_button = Show Register Button
30813081
config.require_sign_in_view = Require Sign-In to View Pages
30823082
config.mail_notify = Enable Email Notifications
3083-
config.disable_key_size_check = Disable Minimum Key Size Check
30843083
config.enable_captcha = Enable CAPTCHA
30853084
config.active_code_lives = Active Code Lives
30863085
config.reset_password_code_lives = Recover Account Code Expiry Time

templates/admin/config.tmpl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,6 @@
151151
<dd>{{if .Service.RequireSignInView}}{{svg "octicon-check"}}{{else}}{{svg "octicon-x"}}{{end}}</dd>
152152
<dt>{{ctx.Locale.Tr "admin.config.mail_notify"}}</dt>
153153
<dd>{{if .Service.EnableNotifyMail}}{{svg "octicon-check"}}{{else}}{{svg "octicon-x"}}{{end}}</dd>
154-
<dt>{{ctx.Locale.Tr "admin.config.disable_key_size_check"}}</dt>
155-
<dd>{{if .SSH.MinimumKeySizeCheck}}{{svg "octicon-check"}}{{else}}{{svg "octicon-x"}}{{end}}</dd>
156154
<dt>{{ctx.Locale.Tr "admin.config.enable_captcha"}}</dt>
157155
<dd>{{if .Service.EnableCaptcha}}{{svg "octicon-check"}}{{else}}{{svg "octicon-x"}}{{end}}</dd>
158156
<dt>{{ctx.Locale.Tr "admin.config.default_keep_email_private"}}</dt>

0 commit comments

Comments
 (0)