Permalink
Browse files

add a message about the OTP in the login

  • Loading branch information...
1 parent 27fefc3 commit 07108c400a612c8ad7017837aba3e70841adafe2 @chregu committed Aug 29, 2011
Showing with 6 additions and 0 deletions.
  1. +6 −0 tmpl/ask-for-otp.php
View
@@ -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) {
@@ -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.