From dbaaffebb6f08890a4e0eecac8d10e5f505beda0 Mon Sep 17 00:00:00 2001 From: kipsang Date: Thu, 8 Jan 2026 12:41:38 +0300 Subject: [PATCH] feat: allow registration with FusionAuth provider --- apps/backend/src/services/auth/auth.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/backend/src/services/auth/auth.service.ts b/apps/backend/src/services/auth/auth.service.ts index 81da83976..b1bcc4438 100644 --- a/apps/backend/src/services/auth/auth.service.ts +++ b/apps/backend/src/services/auth/auth.service.ts @@ -21,7 +21,7 @@ export class AuthService { private _emailService: EmailService ) {} async canRegister(provider: string) { - if (process.env.DISABLE_REGISTRATION !== 'true' || provider === Provider.GENERIC) { + if (process.env.DISABLE_REGISTRATION !== 'true' || provider === Provider.GENERIC || provider === Provider.FUSIONAUTH) { return true; }