Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/twofactor_totp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilfred Dijksman <wilfreddijksman@users.noreply.github.com>2021-10-19 00:11:58 +0300
committerGitHub <noreply@github.com>2021-10-19 00:11:58 +0300
commitf75b432fd4bc617188d4b9f4094f96eae046b25e (patch)
tree4e489f63e79df6f37625a900f1141e17735786ca /templates
parentd05c6d96d0ee81db8051687ded5f4895695d1393 (diff)
#793 Set autocomplete attribute of input field to one-time-code
Diffstat (limited to 'templates')
-rw-r--r--templates/challenge.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/challenge.php b/templates/challenge.php
index 0127fee..924524f 100644
--- a/templates/challenge.php
+++ b/templates/challenge.php
@@ -7,7 +7,7 @@ style('twofactor_totp', 'style');
<p><?php p($l->t('Get the authentication code from the two-factor authentication app on your device.')) ?></p>
<form method="POST" class="totp-form">
- <input type="tel" minlength="6" maxlength="10" name="challenge" required="required" autofocus autocomplete="off" autocapitalize="off" placeholder="<?php p($l->t('Authentication code')) ?>">
+ <input type="tel" minlength="6" maxlength="10" name="challenge" required="required" autofocus autocomplete="one-time-code" autocapitalize="off" placeholder="<?php p($l->t('Authentication code')) ?>">
<button class="primary two-factor-submit" type="submit">
<?php p($l->t('Submit')); ?>
</button>