mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-05 19:42:38 +02:00
This commit is contained in:
parent
8468ec06d3
commit
af4585e40c
5 changed files with 23 additions and 1 deletions
|
@ -1969,6 +1969,9 @@ if (typeof gtag !== \"function\") {
|
|||
}
|
||||
}
|
||||
}
|
||||
if(!empty($_REQUEST['do_not_login'])){
|
||||
return false;
|
||||
}
|
||||
if(!empty($_REQUEST['user']) && !empty($_REQUEST['pass'])){
|
||||
$user = new User(0, $_REQUEST['user'], $_REQUEST['pass']);
|
||||
$user->login(false, !empty($_REQUEST['encodedPass']));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue