[Web] Fix totp qr code, fixes #2490

master
andryyy 2019-04-01 22:17:44 +02:00
parent a654f7766d
commit 82f7cab259
No known key found for this signature in database
GPG Key ID: 8EC34FF2794E25EF
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ if (!isset($_SESSION['mailcow_cc_role'])) {
}
if (isset($_GET['token']) && ctype_alnum($_GET['token'])) {
echo $tfa->getQRCodeImageAsDataUri($_SESSION['mailcow_cc_username'], $totp_secret);
echo $tfa->getQRCodeImageAsDataUri($_SESSION['mailcow_cc_username'], $_GET['token']);
}
?>