adminizer 4.3.0-build.138 → 4.3.0-build.139

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -24,12 +24,6 @@ const inertiaExpressAdapter = function ({ version, html, flashMessages, enableRe
24
24
  if (!isApiRoute) {
25
25
  const csrfCookie = req.cookies['XSRF-TOKEN'];
26
26
  const csrfHeader = req.headers[csrf.headerName || 'x-xsrf-token'];
27
- console.log('CSRF Check for non-API route:', {
28
- path: req.path,
29
- cookie: csrfCookie ? 'present' : 'missing',
30
- header: csrfHeader ? 'present' : 'missing',
31
- match: csrfCookie === csrfHeader
32
- });
33
27
  if (!csrfCookie || !csrfHeader || csrfCookie !== csrfHeader) {
34
28
  return res.status(403).json({
35
29
  message: 'Invalid CSRF token',
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "adminizer",
3
3
  "type": "module",
4
- "version": "4.3.0-build.138",
4
+ "version": "4.3.0-build.139",
5
5
  "main": "index.js",
6
6
  "exports": {
7
7
  ".": "./index.js",