mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-26 21:21:18 -08:00
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:
commit
efc84efabf
|
@ -427,5 +427,5 @@ return [
|
|||
*/
|
||||
|
||||
'escape_formulas' => env('CSV_ESCAPE_FORMULAS', true),
|
||||
|
||||
|
||||
];
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue