#20: fix non-ASCII lint violations in webmail and router source files
This commit is contained in:
1 parent
7e638ddc5b
commit
23da5f43e4
5 files changed
+7
-7
No files matched your search
@@ -36,7 +36,7 @@ export function handleApiRequest(req: IncomingMessage, res: ServerResponse): boo
|
||||
|
||||
const sessionPayload = token ? verifyJwt(token) : null;
|
||||
|
||||
// STRICT SURFACE ISOLATION (PLAN.md ADR-008 & §14.1)
|
||||
// STRICT SURFACE ISOLATION (PLAN.md ADR-008 & Section 14.1)
|
||||
// Token presented to /api/v1/admin/* MUST have aud: "lambdamail:admin"
|
||||
if (url.startsWith("/api/v1/admin/")) {
|
||||
if (!isSurfaceAuthorized(sessionPayload, "admin")) {
|
||||
|
||||
Reference in new issue
Block a user