run(); } } catch (Exception $e) { $welcome = false; } } try { if (isset($_SESSION['showed_tips_window']) === false) { $tips_window = new TipsWindow(); if ($tips_window !== null) { $tips_window->run(); } } } catch (Exception $e) { } $double_auth_enabled = (bool) db_get_value('id', 'tuser_double_auth', 'id_user', $config['id_user']); if (isset($config['2FA_all_users']) === false) { $config['2FA_all_users'] = null; } if (!$double_auth_enabled && $config['2FA_all_users'] != '' && $config['2Fa_auth'] != '1' && $config['double_auth_enabled'] ) { echo '