Skip to content

Commit

Permalink
[IM] - Autocomplete enabled on 2FA code input - fixes #713
Browse files Browse the repository at this point in the history
  • Loading branch information
yannrobin committed May 28, 2021
1 parent f794bce commit 27791fa
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 9 deletions.
9 changes: 0 additions & 9 deletions resources/views/user/2fa/configure.foil.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,17 +46,8 @@
<?= $t->insert( 'user/2fa/configure/manage' ) ?>

<?php endif; ?>


</div>
</div>

</div>

</div>





<?php $this->append() ?>
1 change: 1 addition & 0 deletions resources/views/user/2fa/configure/enable.foil.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@

<?= Former::text( 'one_time_password' )
->label( 'Code' )
->autocomplete( 'off' )
->required( true )
?>

Expand Down
1 change: 1 addition & 0 deletions resources/views/user/2fa/login-form.foil.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
->label( 'One Time Code' )
->forceValue( '' )
->autofocus( true )
->autocomplete( 'off' )
?>

<?= Former::actions(
Expand Down

0 comments on commit 27791fa

Please sign in to comment.