accessEnded = request()->query('access') === 'ended'; } public function loginWithPin(LoginPins $pins): void { if ($this->signInWithPin($pins)) { $this->redirectIntended(route('machines.index')); } } public function loginWithPassword(CheckLoginAllowed $checkLoginAllowed): void { $this->signInWithPassword($checkLoginAllowed); $this->redirectIntended(route('machines.index')); } public function render(): mixed { return $this->view()->title(__('users.console_login.title')); } }; ?>

{{ __('users.console_login.title') }}

{{ __('users.console_login.intro') }}

@if ($accessEnded) @elseif (session('status')) @endif

{{ __('users.console_login.with_pin') }}

@if ($this->pinUsers === [])

{{ __('users.pin_switch.no_users') }}

@else
@endif

{{ __('users.console_login.with_password') }}