diff --git a/resources/views/auth/login.blade.php b/resources/views/auth/login.blade.php index 409b6ed59..b0db61730 100755 --- a/resources/views/auth/login.blade.php +++ b/resources/views/auth/login.blade.php @@ -36,6 +36,7 @@ @include('notifications') + @if (!config('app.require_saml'))
@@ -59,10 +60,10 @@
- + @endif - @if ($snipeSettings->saml_enabled) + @if (!config('app.require_saml') && $snipeSettings->saml_enabled)
{{ trans('auth/general.saml_login') }} @@ -71,12 +72,16 @@ @endif
@if ($snipeSettings->custom_forgot_pass_url) {{ trans('auth/general.forgot_password') }} - @else + @elseif (!config('app.require_saml')) {{ trans('auth/general.forgot_password') }} @endif