Disable autcomplete for 2FA field

This commit is contained in:
Ruben van Erk
2021-05-12 19:58:35 +02:00
parent 082e690f51
commit 6e3cf51749
2 changed files with 2 additions and 2 deletions

View File

@@ -18,7 +18,7 @@
<input type="hidden" name="_token" value="{{ csrf_token() }}"/>
<div class="form-group has-feedback">
<input type="text" name="one_time_password" class="form-control" placeholder="{{ 'two_factor_code_here'|_ }}"/>
<input type="text" name="one_time_password" class="form-control" placeholder="{{ 'two_factor_code_here'|_ }}" autocomplete="off"/>
</div>
<div class="row">

View File

@@ -27,7 +27,7 @@
<form action="{{ route('two-factor.submit') }}" method="POST">
<input type="hidden" name="_token" value="{{ csrf_token() }}"/>
<div class="input-group mb-3">
<input type="text" id="oneTimeInput" name="one_time_password" class="form-control" placeholder="{{ 'two_factor_code_here'|_ }}"/>
<input type="text" id="oneTimeInput" name="one_time_password" class="form-control" placeholder="{{ 'two_factor_code_here'|_ }}" autocomplete="off"/>
<div class="input-group-append">
<div class="input-group-text">