From 3d20c90360e7a119848cd5bfec167479b9a620d9 Mon Sep 17 00:00:00 2001 From: Henrik Hautakoski Date: Thu, 7 Jun 2018 23:26:53 +0200 Subject: [PATCH] app/library/Auth.php: in loginOauth() $email does not exist. --- app/library/Auth.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();