diff --git a/server/private/routers/external.ts b/server/private/routers/external.ts index a2ffae05..74ca7872 100644 --- a/server/private/routers/external.ts +++ b/server/private/routers/external.ts @@ -280,7 +280,7 @@ authenticated.delete( authenticated.put( "/org/:orgId/login-page", verifyValidLicense, - verifyValidSubscription(tierMatrix.customAuthenticationDomain), + verifyValidSubscription(tierMatrix.loginPageDomain), verifyOrgAccess, verifyUserHasAction(ActionsEnum.createLoginPage), logActionAudit(ActionsEnum.createLoginPage), @@ -290,7 +290,7 @@ authenticated.put( authenticated.post( "/org/:orgId/login-page/:loginPageId", verifyValidLicense, - verifyValidSubscription(tierMatrix.customAuthenticationDomain), + verifyValidSubscription(tierMatrix.loginPageDomain), verifyOrgAccess, verifyLoginPageAccess, verifyUserHasAction(ActionsEnum.updateLoginPage), diff --git a/server/routers/newt/getNewtToken.ts b/server/routers/newt/getNewtToken.ts index 8f7e01d2..63797358 100644 --- a/server/routers/newt/getNewtToken.ts +++ b/server/routers/newt/getNewtToken.ts @@ -18,7 +18,7 @@ import config from "@server/lib/config"; import { APP_VERSION } from "@server/lib/consts"; export const newtGetTokenBodySchema = z.object({ - // newtId: z.string(), + newtId: z.string(), secret: z.string(), token: z.string().optional() });