mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-06 03:50:04 +02:00
Fixing 2FA warning
This commit is contained in:
parent
9a49254249
commit
b3b579ae1b
1 changed files with 1 additions and 2 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue