Updates
This commit is contained in:
parent
1aa66be3ba
commit
1fa61ab6fc
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@moduletrace/datasquirel",
|
||||
"version": "3.1.4",
|
||||
"version": "3.1.5",
|
||||
"description": "Cloud-based SQL data management tool",
|
||||
"main": "index.js",
|
||||
"bin": {
|
||||
|
@ -144,7 +144,7 @@ function userAuth({
|
||||
}
|
||||
|
||||
const targetCsrfHeaderKey = Object.keys(finalRequest.headers)
|
||||
.filter((k) => k.replace(/[^a-zA-Z0-9\-]/g, ""))
|
||||
.map((k) => k.replace(/[^a-zA-Z0-9\-]/g, ""))
|
||||
.find((k) => k == userObject.csrf_k);
|
||||
|
||||
if (csrfHeaderIsValue && !targetCsrfHeaderKey) {
|
||||
|
Loading…
Reference in New Issue
Block a user