Added else clause

This commit is contained in:
justein230 2018-10-12 22:50:02 -07:00 committed by GitHub
parent a76599bd2a
commit 77d7f764f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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();
}
}
/**