mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 09:49:28 +02:00
This commit is contained in:
parent
1c7e1dd884
commit
c09a6ef8cd
1 changed files with 2 additions and 2 deletions
|
@ -2145,9 +2145,9 @@ if (typeof gtag !== \"function\") {
|
|||
$pass = encryptPassword($pass);
|
||||
$userObject = new User(0, $user, $pass);
|
||||
$userObject->setEmail($email);
|
||||
$userObject->setName($name);
|
||||
//$userObject->setName($name);
|
||||
$userObject->setIsAdmin($isAdmin);
|
||||
$userObject->setPhotoURL($photoURL);
|
||||
//$userObject->setPhotoURL($photoURL);
|
||||
$userObject->setEmailVerified($emailVerified);
|
||||
$userId = $userObject->save();
|
||||
if (!empty($userId)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue