]> BookStack Code Mirror - bookstack/commitdiff
Turned off autocomplete for TOTP codes 4849/head
authorMattic <redacted>
Thu, 15 Feb 2024 15:22:35 +0000 (09:22 -0600)
committerGitHub <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

index a52d9b652a6f59d6fed3f7c098867c8cfe8ae571..b779465ab4ddba1424d0256a1bf0a79b57e4910f 100644 (file)
@@ -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"