]> BookStack Code Mirror - bookstack/commitdiff
Added else clause
authorjustein230 <redacted>
Sat, 13 Oct 2018 05:50:02 +0000 (22:50 -0700)
committerGitHub <redacted>
Sat, 13 Oct 2018 05:50:02 +0000 (22:50 -0700)
app/Auth/Access/SocialAuthService.php

index 024a1e736d11ddb76f97a43f86105337811e20cd..0c26a29507baf6b8b96b463e03f2d372bdbf0c8c 100644 (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();
+        }
     }
 
     /**