]>
BookStack Code Mirror - bookstack/commitdiff
projects
/
bookstack
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
a76599b
)
Added else clause
author
justein230
<redacted>
Sat, 13 Oct 2018 05:50:02 +0000
(22:50 -0700)
committer
GitHub
<redacted>
Sat, 13 Oct 2018 05:50:02 +0000
(22:50 -0700)
app/Auth/Access/SocialAuthService.php
patch
|
blob
|
history
diff --git
a/app/Auth/Access/SocialAuthService.php
b/app/Auth/Access/SocialAuthService.php
index 024a1e736d11ddb76f97a43f86105337811e20cd..0c26a29507baf6b8b96b463e03f2d372bdbf0c8c 100644
(file)
--- a/
app/Auth/Access/SocialAuthService.php
+++ b/
app/Auth/Access/SocialAuthService.php
@@
-55,7
+55,9
@@
class SocialAuthService
if ($socialDriver == 'google') {
return $this->socialite->driver($driver)->with(['prompt' => 'select_account'])->redirect();
}
- return $this->socialite->driver($driver)->redirect();
+ else {
+ return $this->socialite->driver($driver)->redirect();
+ }
}
/**