mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-06-04 17:04:32 +08:00
Removed setting override system due to confusing behaviour
- Was only used to disable registration when LDAP was enabled. - Caused saved option not to show on settings page causing confusion. - Extended setting logic where used to take ldap into account instead of global override. - Added warning on setting page to show registration enable setting is not used while ldap is active. For #1541
This commit is contained in:
@ -55,7 +55,7 @@
|
||||
</div>
|
||||
@endif
|
||||
|
||||
@if(setting('registration-enabled', false))
|
||||
@if(setting('registration-enabled') && config('auth.method') !== 'ldap')
|
||||
<div class="text-center pb-s">
|
||||
<hr class="my-l">
|
||||
<a href="{{ url('/register') }}">{{ trans('auth.dont_have_account') }}</a>
|
||||
|
Reference in New Issue
Block a user