[Web] Fix totp qr code, fixes #2490
parent
a654f7766d
commit
82f7cab259
|
@ -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']);
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
Loading…
Reference in New Issue