Skip to content

NOW MANAGED ON CODEBERG

Revert "Added else clause"

Justin Stein79afec9737ce
diff --git a/app/Auth/Access/SocialAuthService.php b/app/Auth/Access/SocialAuthService.php
index 0c26a2950..024a1e736 100644
--- a/app/Auth/Access/SocialAuthService.php
+++ b/app/Auth/Access/SocialAuthService.php
@@ -55,9 +55,7 @@ class SocialAuthService
if ($socialDriver == 'google') {
return $this->socialite->driver($driver)->with(['prompt' => 'select_account'])->redirect();
}
- else {
- return $this->socialite->driver($driver)->redirect();
- }
+ return $this->socialite->driver($driver)->redirect();
}
/**