Fix errors

This commit is contained in:
Owen
2026-02-09 20:17:14 -08:00
parent 0a6301697e
commit ba5ae6ed04
2 changed files with 3 additions and 3 deletions

View File

@@ -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),

View File

@@ -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()
});