Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Disable autcomplete for 2FA field
Ruben van Erk6e3cf5174963
diff --git a/resources/views/v1/auth/mfa.twig b/resources/views/v1/auth/mfa.twigindex 94c929bd79..403b3a4845 100644--- a/resources/views/v1/auth/mfa.twig+++ b/resources/views/v1/auth/mfa.twig@@ -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">diff --git a/resources/views/v2/auth/mfa.twig b/resources/views/v2/auth/mfa.twigindex b5e74accc1..5d0e019f9e 100644--- a/resources/views/v2/auth/mfa.twig+++ b/resources/views/v2/auth/mfa.twig@@ -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">