mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-07-23 01:41:54 +02:00
QR code fix
This commit is contained in:
2
README
2
README
@ -34,6 +34,8 @@ Features:
|
|||||||
|
|
||||||
- STARTTLS support
|
- STARTTLS support
|
||||||
|
|
||||||
|
- Google Authenticator support for 2-factor authentication
|
||||||
|
|
||||||
- i18n
|
- i18n
|
||||||
- customisable theme
|
- customisable theme
|
||||||
|
|
||||||
|
@ -38,6 +38,6 @@ else if(isset($_GET['toggle'])) {
|
|||||||
|
|
||||||
$ga = $p->get_ga_settings($session->get('username'));
|
$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);
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
Reference in New Issue
Block a user