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

github.com/nextcloud/twofactor_gateway.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2016-06-01 16:41:11 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2016-06-01 16:41:11 +0300
commitddb6a19aff45d572659ec11131013a5fd8e48766 (patch)
treec74781a8f57f090dc4d083e3c671e42cc8c5b4b5 /templates
parent61e8339c21eff8c5b862d3cd493aa76bda46d7ee (diff)
prevent browser autocomplete
Diffstat (limited to 'templates')
-rw-r--r--templates/challenge.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/challenge.php b/templates/challenge.php
index 59fdf73..4ba9183 100644
--- a/templates/challenge.php
+++ b/templates/challenge.php
@@ -1,6 +1,7 @@
<p>TOTP: <?php p($_['secret']); ?></p>
<form method="POST">
- <input type="text" name="challenge" required="required">
+ <input type="hidden" name="redirect_url" value="<?php p($_['redirect_url']); ?>">
+ <input type="text" name="challenge" autocomplete="off" autocapitalize="off" required="required">
<input type="submit" class="button" value="Verify">
</form>