Merge pull request #15132 from snipe/fixes/disable_remote_login_force_via_env

Hides the “Disable Other Login Mechanisms” option via env
This commit is contained in:
snipe 2024-07-22 10:20:34 +01:00 committed by GitHub
commit efc84efabf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 1 deletions

View file

@ -427,5 +427,5 @@ return [
*/
'escape_formulas' => env('CSV_ESCAPE_FORMULAS', true),
];

View file

@ -150,6 +150,9 @@
<p class="help-block">
{{ trans('admin/settings/general.login_remote_user_custom_logout_url_help') }}
</p>
@if ($setting->login_remote_user_enabled == '1')
<!-- Disable other logins mechanism -->
<label class="form-control">
@ -160,6 +163,8 @@
<p class="help-block">
{{ trans('admin/settings/general.login_common_disabled_help') }}
</p>
@endif
@endif
</div>