2021-08-08 09:24:44 -04:00
|
|
|
<div class="setting-list-label">{{ trans('auth.mfa_option_totp_title') }}</div>
|
2021-08-02 10:04:43 -04:00
|
|
|
|
2021-08-08 09:24:44 -04:00
|
|
|
<p class="small mb-m">{{ trans('auth.mfa_verify_totp_desc') }}</p>
|
2021-08-02 10:04:43 -04:00
|
|
|
|
2021-08-02 17:02:25 -04:00
|
|
|
<form action="{{ url('/mfa/totp/verify') }}" method="post">
|
2021-08-02 10:04:43 -04:00
|
|
|
{{ csrf_field() }}
|
|
|
|
<input type="text"
|
|
|
|
name="code"
|
2021-11-21 23:15:37 -05:00
|
|
|
autofocus
|
2021-08-08 09:24:44 -04:00
|
|
|
placeholder="{{ trans('auth.mfa_gen_totp_provide_code_here') }}"
|
2021-08-02 10:04:43 -04: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>
|
2021-11-21 15:40:11 -05:00
|
|
|
</form>
|