From 79afec9737cee9c9c5ef72576a42dcd3bf6116a9 Mon Sep 17 00:00:00 2001 From: Justin Stein Date: Sat, 13 Oct 2018 14:31:29 -0700 Subject: [PATCH] Revert "Added else clause" This reverts commit 77d7f764f1321fda7a2731c8c7ef50cecdea1af8. --- app/Auth/Access/SocialAuthService.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/Auth/Access/SocialAuthService.php b/app/Auth/Access/SocialAuthService.php index 0c26a2950..024a1e736 100644 --- a/app/Auth/Access/SocialAuthService.php +++ b/app/Auth/Access/SocialAuthService.php @@ -55,9 +55,7 @@ class SocialAuthService if ($socialDriver == 'google') { return $this->socialite->driver($driver)->with(['prompt' => 'select_account'])->redirect(); } - else { - return $this->socialite->driver($driver)->redirect(); - } + return $this->socialite->driver($driver)->redirect(); } /**