Skip to content

Commit 4144205

Browse files
Default enforceCsrf: true for all environments
1 parent 653deb9 commit 4144205

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/config/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export const config = convict({
5555
},
5656
enforceCsrf: {
5757
format: Boolean,
58-
default: isProduction,
58+
default: true,
5959
env: 'ENFORCE_CSRF'
6060
},
6161

0 commit comments

Comments
 (0)