Skip to content

NOW MANAGED ON CODEBERG

Added else clause

justein23077d7f764f132
diff --git a/app/Auth/Access/SocialAuthService.php b/app/Auth/Access/SocialAuthService.php
index 024a1e736..0c26a2950 100644
--- 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();
+ }
}
/**