[WebAuthn] cleanup

master
FreddleSpl0it 2022-01-18 10:23:32 +01:00
parent 6788c528cf
commit 0e4ddacf92
No known key found for this signature in database
GPG Key ID: 38F5FCC689C181F9
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)) {

View File

@ -3,7 +3,7 @@ function init_db_schema() {
try {
global $pdo;
$db_version = "31102021_0621";
$db_version = "18012022_1020";
$stmt = $pdo->query("SHOW TABLES LIKE 'versions'");
$num_results = count($stmt->fetchAll(PDO::FETCH_ASSOC));