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