mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-09-13 13:04:52 +00:00
Added else clause
This commit is contained in:
parent
a76599bd2a
commit
77d7f764f1
@ -55,7 +55,9 @@ 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();
|
||||||
}
|
}
|
||||||
return $this->socialite->driver($driver)->redirect();
|
else {
|
||||||
|
return $this->socialite->driver($driver)->redirect();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user