mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2024-12-10 10:40:15 +02:00
[WebAuthn] cleanup
This commit is contained in:
parent
6788c528cf
commit
0e4ddacf92
@ -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)) {
|
||||
|
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user