1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-05 19:42:38 +02:00
Daniel Neto 2023-09-07 11:42:33 -03:00
parent 1c7e1dd884
commit c09a6ef8cd

View file

@ -2145,9 +2145,9 @@ if (typeof gtag !== \"function\") {
$pass = encryptPassword($pass); $pass = encryptPassword($pass);
$userObject = new User(0, $user, $pass); $userObject = new User(0, $user, $pass);
$userObject->setEmail($email); $userObject->setEmail($email);
$userObject->setName($name); //$userObject->setName($name);
$userObject->setIsAdmin($isAdmin); $userObject->setIsAdmin($isAdmin);
$userObject->setPhotoURL($photoURL); //$userObject->setPhotoURL($photoURL);
$userObject->setEmailVerified($emailVerified); $userObject->setEmailVerified($emailVerified);
$userId = $userObject->save(); $userId = $userObject->save();
if (!empty($userId)) { if (!empty($userId)) {