mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-06-05 09:34:37 +08:00
Revert "Added else clause"
This reverts commit 77d7f764f1321fda7a2731c8c7ef50cecdea1af8.
This commit is contained in:
@ -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();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user