mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-11-08 01:31:58 +01:00
QR code fix
This commit is contained in:
parent
19de35f6e2
commit
4f9767836d
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);
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
Loading…
Reference in New Issue
Block a user