]>
BookStack Code Mirror - bookstack/commitdiff
projects
/
bookstack
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
c53c9f6
)
TOTP: Added one-time-code autofill
author
Dan Brown
<redacted>
Sun, 10 Mar 2024 18:24:42 +0000
(18:24 +0000)
committer
Dan Brown
<redacted>
Sun, 10 Mar 2024 18:24:42 +0000
(18:24 +0000)
During review of #4849
Tested on Firefox & Chromium desktop.
resources/views/mfa/parts/verify-totp.blade.php
patch
|
blob
|
history
diff --git
a/resources/views/mfa/parts/verify-totp.blade.php
b/resources/views/mfa/parts/verify-totp.blade.php
index b779465ab4ddba1424d0256a1bf0a79b57e4910f..78d0fa64d947ce003bfd21d1f3dd16a1eff73ee4 100644
(file)
--- a/
resources/views/mfa/parts/verify-totp.blade.php
+++ b/
resources/views/mfa/parts/verify-totp.blade.php
@@
-6,6
+6,7
@@
{{ csrf_field() }}
<input type="text"
name="code"
+ autocomplete="one-time-code"
autofocus
placeholder="{{ trans('auth.mfa_gen_totp_provide_code_here') }}"
class="input-fill-width {{ $errors->has('code') ? 'neg' : '' }}">