]>
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:
32e20e5
)
Turned off autocomplete for TOTP codes
4849/head
author
Mattic
<redacted>
Thu, 15 Feb 2024 15:22:35 +0000
(09:22 -0600)
committer
GitHub
<redacted>
Thu, 15 Feb 2024 15:22:35 +0000
(09:22 -0600)
Small QOL change to turn off autocomplete when entering TOTP codes since they're one time use only.
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 a52d9b652a6f59d6fed3f7c098867c8cfe8ae571..b779465ab4ddba1424d0256a1bf0a79b57e4910f 100644
(file)
--- a/
resources/views/mfa/parts/verify-totp.blade.php
+++ b/
resources/views/mfa/parts/verify-totp.blade.php
@@
-2,7
+2,7
@@
<p class="small mb-m">{{ trans('auth.mfa_verify_totp_desc') }}</p>
-<form action="{{ url('/mfa/totp/verify') }}" method="post">
+<form action="{{ url('/mfa/totp/verify') }}" method="post"
autocomplete="off"
>
{{ csrf_field() }}
<input type="text"
name="code"