Skip to content

Commit 7ec4ec0

Browse files
ZimengXiongCopilot
andauthored
Update backend/src/security.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 44fb456 commit 7ec4ec0

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

backend/src/security.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,6 @@ export const validateImportedDrawing = (data: any): boolean => {
532532
// CSRF Protection
533533
// ============================================================================
534534

535-
const CSRF_TOKEN_LENGTH = 32;
536535
const CSRF_TOKEN_HEADER = "x-csrf-token";
537536
const CSRF_TOKEN_EXPIRY_MS = 24 * 60 * 60 * 1000; // 24 hours
538537
const CSRF_TOKEN_FUTURE_SKEW_MS = 5 * 60 * 1000; // 5 minutes clock skew tolerance

0 commit comments

Comments
 (0)