},
{
"name": "ramsey/collection",
- "version": "1.2.1",
+ "version": "1.2.2",
"source": {
"type": "git",
"url": "https://github.com/ramsey/collection.git",
- "reference": "eaca1dc1054ddd10cbd83c1461907bee6fb528fa"
+ "reference": "cccc74ee5e328031b15640b51056ee8d3bb66c0a"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/ramsey/collection/zipball/eaca1dc1054ddd10cbd83c1461907bee6fb528fa",
- "reference": "eaca1dc1054ddd10cbd83c1461907bee6fb528fa",
+ "url": "https://api.github.com/repos/ramsey/collection/zipball/cccc74ee5e328031b15640b51056ee8d3bb66c0a",
+ "reference": "cccc74ee5e328031b15640b51056ee8d3bb66c0a",
"shasum": ""
},
"require": {
],
"support": {
"issues": "https://github.com/ramsey/collection/issues",
- "source": "https://github.com/ramsey/collection/tree/1.2.1"
+ "source": "https://github.com/ramsey/collection/tree/1.2.2"
},
"funding": [
{
"type": "tidelift"
}
],
- "time": "2021-08-06T03:41:06+00:00"
+ "time": "2021-10-10T03:01:02+00:00"
},
{
"name": "ramsey/uuid",
{
$provider = request()->provider;
if (in_array($provider, $this->providers, true)) {
- $user = Socialite::driver($provider)->user();
- $authUser = $this->findOrCreateUser($user, $provider);
+ try {
+ $user = Socialite::driver($provider)->user();
+ $authUser = $this->findOrCreateUser($user, $provider);
- Auth::login($authUser, true);
- return redirect('/test');
+ Auth::login($authUser, true);
+ return redirect('/test');
+ } catch (\Exception $e) {
+ $this->redirect();
+ }
}
}