Replies: 1 comment
-
Where is your token getting stole in that code? You can check the unminified code before this and check what is doing. The you can minified yourself and you will see the same result. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
if (null === (e = (0, _.getCookie)("csrftoken"))) throw new Error("csrftoken cookie is null"); t = 0, n = function(n) { var a, i; return u(this, (function(u) { switch (u.label) { case 0: t += 1, a = Math.floor(t / o.selectedResults.length * 100), u.label = 1; case 1: return u.trys.push([1, 3, , 4]), [4, fetch((0, _.unfollowUserUrlGenerator)(n.id), { headers: { "content-type": "application/x-www-form-urlencoded", "x-csrftoken": e }, method: "POST", mode: "cors", credentials: "include" })];
Beta Was this translation helpful? Give feedback.
All reactions