Skip to content

Commit 32978fd

Browse files
fix(chat): add missing SignIn page header and bump nextjs to resolve vulnerabilities (Issue #4534) (#4588)
1 parent 00f1fda commit 32978fd

3 files changed

Lines changed: 167 additions & 164 deletions

File tree

apps/chat/src/pages/auth/signin/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,8 @@ export const getServerSideProps: GetServerSideProps = async ({
160160
'Content-Security-Policy',
161161
getContentSecurityPolicyDirectives(),
162162
);
163-
164163
res.setHeader('Cache-Control', 'no-store');
164+
res.setHeader('X-Frame-Options', 'SAMEORIGIN');
165165

166166
if (isServerSessionValid(session, true)) {
167167
return {

0 commit comments

Comments
 (0)