From 903c645ff20a3f488ad724c189119ed5d1275392 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Sun, 29 May 2016 14:19:21 +0200 Subject: [PATCH] Fix GithubAuthAction see 6901535c493de0acd63207fc9341e8b017c5f4e8 --- wcfsetup/install/files/lib/action/GithubAuthAction.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/action/GithubAuthAction.class.php b/wcfsetup/install/files/lib/action/GithubAuthAction.class.php index 2307e11a23..bbc267fea5 100644 --- a/wcfsetup/install/files/lib/action/GithubAuthAction.class.php +++ b/wcfsetup/install/files/lib/action/GithubAuthAction.class.php @@ -80,7 +80,7 @@ class GithubAuthAction extends AbstractAction { // check whether a user is connected to this github account $user = User::getUserByAuthData('github:'.$userData['id']); if (!$user->userID) { - $user = $this->getUser($data['access_token']); + $user = User::getUserByAuthData('github:'.$data['access_token']); $userEditor = new UserEditor($user); $userEditor->update(['authData' => 'github:'.$userData['id']]); } -- 2.20.1