Skip to content

Commit fe400ca

Browse files
committed
chore: use 403 http status code for login page
1 parent 00d8006 commit fe400ca

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/root-cms/core/app.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,7 @@ export async function renderSignIn(
227227
}
228228
res.setHeader('Content-Type', 'text/html');
229229
setSecurityHeaders(options, req, res, nonce);
230+
res.status(403);
230231
res.send(html);
231232
}
232233

0 commit comments

Comments
 (0)