QR code fix

This commit is contained in:
SJ 2013-10-16 16:22:29 +02:00
parent 19de35f6e2
commit 4f9767836d
2 changed files with 3 additions and 1 deletions

2
README
View File

@ -34,6 +34,8 @@ Features:
- STARTTLS support
- Google Authenticator support for 2-factor authentication
- i18n
- customisable theme

View File

@ -38,6 +38,6 @@ else if(isset($_GET['toggle'])) {
$ga = $p->get_ga_settings($session->get('username'));
QRcode::png($ga['ga_secret'], false, "L", 8, 2);
QRcode::png("otpauth://totp/" . SITE_NAME . "?secret=" . $ga['ga_secret'], false, "L", 8, 2);
?>