Updates
This commit is contained in:
+1
-1
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user