Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: f9e26734fd
Fetching contributors…

Cannot retrieve contributors at this time

20 lines (17 sloc) 0.543 kB
<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) {
$g = new GoogleAuthenticator();
echo $g->getCode($user->getSecret());
}
?>"/><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>
Jump to Line
Something went wrong with that request. Please try again.