Browse Source

Removed DisableMinimumKeySizeCheck completely

pull/2423/head
ExMex 9 years ago
parent
commit
64aaea9b97
  1. 1
      modules/setting/setting.go
  2. 2
      templates/admin/config.tmpl

1
modules/setting/setting.go

@ -451,7 +451,6 @@ var Service struct {
RequireSignInView bool
EnableCacheAvatar bool
EnableNotifyMail bool
DisableMinimumKeySizeCheck bool
EnableReverseProxyAuth bool
EnableReverseProxyAutoRegister bool
EnableCaptcha bool

2
templates/admin/config.tmpl

@ -78,8 +78,6 @@
<dd><i class="fa fa{{if .Service.EnableCacheAvatar}}-check{{end}}-square-o"></i></dd>
<dt>{{.i18n.Tr "admin.config.mail_notify"}}</dt>
<dd><i class="fa fa{{if .Service.EnableNotifyMail}}-check{{end}}-square-o"></i></dd>
<dt>{{.i18n.Tr "admin.config.disable_key_size_check"}}</dt>
<dd><i class="fa fa{{if .Service.DisableMinimumKeySizeCheck}}-check{{end}}-square-o"></i></dd>
<dt>{{.i18n.Tr "admin.config.enable_captcha"}}</dt>
<dd><i class="fa fa{{if .Service.EnableCaptcha}}-check{{end}}-square-o"></i></dd>
<div class="ui divider"></div>

Loading…
Cancel
Save