Skip to content

Commit cd0b751

Browse files
committed
fix: ensures the SessionService is created whenever ANY authentication method is enabled.
1 parent 600d709 commit cd0b751

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/cmd/community/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ func main() {
6161

6262
// Create OAuth service (internal infrastructure)
6363
var oauthService *auth.OauthService
64-
if cfg.Auth.OAuthEnabled {
64+
if cfg.Auth.OAuthEnabled || cfg.Auth.MagicLinkEnabled {
6565
oauthService = auth.NewOAuthService(auth.Config{
6666
BaseURL: cfg.App.BaseURL,
6767
ClientID: cfg.OAuth.ClientID,

0 commit comments

Comments
 (0)