[WebAuthn] cleanup

This commit is contained in:
FreddleSpl0it
2022-01-18 10:23:32 +01:00
parent 6788c528cf
commit 0e4ddacf92
2 changed files with 2 additions and 2 deletions

View File

@@ -1141,7 +1141,7 @@ function set_tfa($_data) {
global $pdo;
global $yubi;
global $tfa;
$_data_log = $_data["tfa_method"];
$_data_log = $_data;
!isset($_data_log['confirm_password']) ?: $_data_log['confirm_password'] = '*';
$username = $_SESSION['mailcow_cc_username'];
if (!isset($_SESSION['mailcow_cc_role']) || empty($username)) {