1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-30 04:23:11 +03:00

Revert "Added else clause"

This reverts commit 77d7f764f1.
This commit is contained in:
Justin Stein
2018-10-13 14:31:29 -07:00
parent 77d7f764f1
commit 79afec9737

View File

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