diff --git a/app/library/Auth.php b/app/library/Auth.php index e6e2333..f65579c 100644 --- a/app/library/Auth.php +++ b/app/library/Auth.php @@ -61,7 +61,7 @@ class Auth extends Component } $user = new User(); - $user->setEmail($email) + $user->setEmail($auth->getEmail()) ->setUsername($name); $user->save();