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