We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 216e6a2 commit d514fb1Copy full SHA for d514fb1
src/Login/AuthController.php
@@ -47,6 +47,10 @@ public function callback()
47
48
// Try to get the user information
49
$profile = $service->getUser();
50
+
51
+ if(!$profile){
52
+ return \Redirect::intended('login');
53
+ }
54
55
// Get the user related to the profile
56
$upbondUser = $this->userRepository->getUserByUserInfo($profile);
0 commit comments