Skip to content

Commit

Permalink
add a message about the OTP in the login
Browse files Browse the repository at this point in the history
  • Loading branch information
chregu committed Aug 29, 2011
1 parent 27fefc3 commit 07108c4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tmpl/ask-for-otp.php
Expand Up @@ -2,6 +2,11 @@
<h1>please otp</h1>
<p>
<form method="post" action="./">
<?php if ($debug) { ?>
<br/>
(Set $debug in index.php to false, if you don't want to have the OTP prefilled (for real life application, for example ;))<br/>
<?php } ?>

otp: <input name="otp"
value="<?php
if ($debug) {
Expand All @@ -11,4 +16,5 @@
?>"/><br/>
<input type="checkbox" name="remember" id="remember" /><label for="remember"> Remember verification for this computer for 1 day.</label> <br/>
<input type="submit"/>

</form>

0 comments on commit 07108c4

Please sign in to comment.