Fixed Disable Self-Registration. Added Disable Forgot Password to same Admin Panel page.

Thanks to xet7 !

Fixes #3971,
fixes #2839
This commit is contained in:
Lauri Ojansivu 2022-02-26 01:29:40 +02:00
parent 9ca8d78514
commit b85db43c47
6 changed files with 74 additions and 4 deletions

View file

@ -63,6 +63,11 @@ template(name="webhookSettings")
template(name="general")
ul#registration-setting.setting-detail
li
a.flex.js-toggle-forgot-password
.materialCheckBox(class="{{#if currentSetting.disableForgotPassword}}is-checked{{/if}}")
span {{_ 'disable-forgot-password'}}
li
a.flex.js-toggle-registration
.materialCheckBox(class="{{#if currentSetting.disableRegistration}}is-checked{{/if}}")