BookStack/resources/views/mfa/parts/verify-totp.blade.php

19 lines
698 B
PHP
Raw Normal View History

<div class="setting-list-label">{{ trans('auth.mfa_option_totp_title') }}</div>
2021-08-02 14:04:43 +00:00
<p class="small mb-m">{{ trans('auth.mfa_verify_totp_desc') }}</p>
2021-08-02 14:04:43 +00:00
<form action="{{ url('/mfa/totp/verify') }}" method="post">
2021-08-02 14:04:43 +00:00
{{ csrf_field() }}
<input type="text"
name="code"
2021-11-22 04:15:37 +00:00
autofocus
placeholder="{{ trans('auth.mfa_gen_totp_provide_code_here') }}"
2021-08-02 14:04:43 +00:00
class="input-fill-width {{ $errors->has('code') ? 'neg' : '' }}">
@if($errors->has('code'))
<div class="text-neg text-small px-xs">{{ $errors->first('code') }}</div>
@endif
<div class="mt-s text-right">
<button class="button">{{ trans('common.confirm') }}</button>
</div>
</form>