From 77d7f764f1321fda7a2731c8c7ef50cecdea1af8 Mon Sep 17 00:00:00 2001 From: justein230 Date: Fri, 12 Oct 2018 22:50:02 -0700 Subject: [PATCH] Added else clause --- app/Auth/Access/SocialAuthService.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/Auth/Access/SocialAuthService.php b/app/Auth/Access/SocialAuthService.php index 024a1e736..0c26a2950 100644 --- a/app/Auth/Access/SocialAuthService.php +++ b/app/Auth/Access/SocialAuthService.php @@ -55,7 +55,9 @@ class SocialAuthService if ($socialDriver == 'google') { return $this->socialite->driver($driver)->with(['prompt' => 'select_account'])->redirect(); } - return $this->socialite->driver($driver)->redirect(); + else { + return $this->socialite->driver($driver)->redirect(); + } } /**