mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-06-07 19:34:33 +08:00
Added else clause
This commit is contained in:
@ -55,8 +55,10 @@ class SocialAuthService
|
||||
if ($socialDriver == 'google') {
|
||||
return $this->socialite->driver($driver)->with(['prompt' => 'select_account'])->redirect();
|
||||
}
|
||||
else {
|
||||
return $this->socialite->driver($driver)->redirect();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Handle the social registration process on callback.
|
||||
|
Reference in New Issue
Block a user