1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-05 19:42:38 +02:00

Fixing 2FA warning

This commit is contained in:
Daniel 2020-10-17 08:31:44 -03:00
parent 9a49254249
commit b3b579ae1b

View file

@ -890,7 +890,7 @@ if (typeof gtag !== \"function\") {
return sqlDAL::writeSql($sql, "i", array($user_id));
}
static function logoff($message="") {
static function logoff() {
global $global, $justLogoff;
$justLogoff = true;
_session_start();
@ -899,7 +899,6 @@ if (typeof gtag !== \"function\") {
_unsetcookie('user');
_unsetcookie('pass');
unset($_SESSION['user']);
gotToLoginAndComeBackHere($message);
}
static private function recreateLoginFromCookie() {