@extends('login') @section('form') @include('partials.warn_session', ['redirectTo' => '/logout?reason=inactive'])
{!! Former::open() ->rules(['totp' => 'required']) ->addClass('form-signin') !!}

{{ trans('texts.enable_two_factor') }}


{!! Former::text('totp') ->placeholder(trans('texts.one_time_password')) ->autofocus() ->forceValue('') ->raw() !!} {!! Button::success(trans('texts.submit')) ->withAttributes(['id' => 'loginButton', 'class' => 'green']) ->large()->submit()->block() !!} @if (count($errors->all()))
@foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
    @endif {!! Former::close() !!}
    @endsection