diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2016-06-01 16:41:11 +0300 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2016-06-01 16:41:11 +0300 |
commit | ddb6a19aff45d572659ec11131013a5fd8e48766 (patch) | |
tree | c74781a8f57f090dc4d083e3c671e42cc8c5b4b5 /templates | |
parent | 61e8339c21eff8c5b862d3cd493aa76bda46d7ee (diff) |
prevent browser autocomplete
Diffstat (limited to 'templates')
-rw-r--r-- | templates/challenge.php | 3 |
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> |