From: justein230 Date: Sat, 13 Oct 2018 05:50:02 +0000 (-0700) Subject: Added else clause X-Git-Tag: v0.24.2~3^2~2^2~8 X-Git-Url: http://source.bookstackapp.com/bookstack/commitdiff_plain/77d7f764f1321fda7a2731c8c7ef50cecdea1af8?ds=inline Added else clause --- 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(); + } } /**