mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-30 04:23:11 +03:00
TOTP: Added one-time-code autofill
During review of #4849 Tested on Firefox & Chromium desktop.
This commit is contained in:
@ -6,6 +6,7 @@
|
|||||||
{{ csrf_field() }}
|
{{ csrf_field() }}
|
||||||
<input type="text"
|
<input type="text"
|
||||||
name="code"
|
name="code"
|
||||||
|
autocomplete="one-time-code"
|
||||||
autofocus
|
autofocus
|
||||||
placeholder="{{ trans('auth.mfa_gen_totp_provide_code_here') }}"
|
placeholder="{{ trans('auth.mfa_gen_totp_provide_code_here') }}"
|
||||||
class="input-fill-width {{ $errors->has('code') ? 'neg' : '' }}">
|
class="input-fill-width {{ $errors->has('code') ? 'neg' : '' }}">
|
||||||
|
Reference in New Issue
Block a user