Skip to content

Commit 04621a0

Browse files
Fixing User, even if it is not breaking
1 parent b911560 commit 04621a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GitHubAuthCore/GitHubAuthService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ protected function loginIn()
219219
if ($user = \App\User::where('email', $this->user_github_object->email)->first()) {
220220
$user->email = $this->user_github_object->email;
221221
} else {
222-
$user = new User();
222+
$user = new \App\User();
223223
$user->email = $this->user_github_object->email;
224224
}
225225
Auth::login($user);

0 commit comments

Comments
 (0)