From: Justin Stein Date: Sat, 13 Oct 2018 21:31:29 +0000 (-0700) Subject: Revert "Added else clause" X-Git-Tag: v0.24.2~3^2~2^2~7 X-Git-Url: http://source.bookstackapp.com/bookstack/commitdiff_plain/79afec9737cee9c9c5ef72576a42dcd3bf6116a9 Revert "Added else clause" This reverts commit 77d7f764f1321fda7a2731c8c7ef50cecdea1af8. --- 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(); } /**