Sign in to start your session
@if (count($errors) > 0)
@foreach ($errors->all() as $error)
- {!! $error !!}
@endforeach
@endif
@if (config('app.api_authorisation') !== 'AZURE')
{!! Form::vertical_open()->id('login')->method('POST')->action('/login')->class('white-row')->autocomplete('off')->id('login-form') !!}
@if (config('app.api_authorisation'))
@if (config('app.api_authorisation') === 'AD')
{!! Form::text('email')->raw()->autocomplete('off')->readonly()->onfocus("this.removeAttribute('readonly')") !!}
@else
{!! Form::text('username')->raw()->autocomplete('off')->readonly()->onfocus("this.removeAttribute('readonly')") !!}
@endif
{!! Form::text('password')->raw()->autocomplete('off')->readonly()->onfocus("this.removeAttribute('readonly')") !!}
@else
@if (config('app.login_using') == 'username')
{!! Form::text('username')->raw()->placeholder('Enter Username')->autocomplete('off')->readonly()->onfocus("this.removeAttribute('readonly')") !!}
@else
{!! Form::text('email')->placeholder('Enter Email')->raw() !!}
@endif
{!! Form::password('password')->raw() !!}
@if (config('recaptcha.enable'))
{!! Captcha::render() !!}
@endif
{!! Form::checkbox('rememberme', 'Remember me ')->inline() !!}
@endif
{!! Form::hidden(config('user.params.type')) !!}
{!! Form::hidden('local_ip')->id('local_ip') !!}
{!! Form::Close() !!}
@if (!config('app.api_authorisation'))
I forgot my password
@endif
@endif
@if (config('app.api_authorisation') === 'AZURE')
{{-- Login as Azure AD button --}}
@if (session('azure_error'))
{{ session('azure_error') }}
@endif
@endif