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

12 lines (9 sloc) 0.378 kb
<h1>Please scan this </h1>
<p> with <a href="http://www.google.com/support/a/bin/answer.py?hl=en&answer=1037451">the Google Authenticator App</a></p>
<p>
<?php
$g = new GoogleAuthenticator();
$link = $g->getUrl($user->getUsername(),$_SERVER['HTTP_HOST'],$secret);
?>
<a href="<?php echo $link;?>"><img style="border: 0; padding:10px" src="<?php echo $link;?>"/></a>
</p>
Jump to Line
Something went wrong with that request. Please try again.