mirror of
https://github.com/ellite/Wallos.git
synced 2025-12-23 23:18:07 -05:00
fix: wrong check for disabling password login
This commit is contained in:
@@ -260,8 +260,7 @@ $loginDisabledAllowed = $userCount == 1 && $settings['registrations_open'] == 0;
|
||||
</div>
|
||||
<div class="form-group-inline">
|
||||
<input type="checkbox" id="oidcPasswordLoginDisabled"
|
||||
<?= $oidcSettings['password_login_disabled'] ? 'checked' : '' ?>
|
||||
<?= $loginDisabledAllowed ? '' : 'disabled' ?> />
|
||||
<?= $oidcSettings['password_login_disabled'] ? 'checked' : '' ?> />
|
||||
<label for="oidcPasswordLoginDisabled"><?= translate('disable_password_login', $i18n) ?></label>
|
||||
</div>
|
||||
<div class="buttons">
|
||||
|
||||
Reference in New Issue
Block a user