admin: csrf token refresh logic 위치 변경
This commit is contained in:
parent
a061628091
commit
1ed8f2520f
|
|
@ -66,12 +66,12 @@ const Reqhelper = {
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.catch((error) => {
|
.catch((error) => {
|
||||||
refreshCsrf();
|
|
||||||
if (eFunc) {
|
if (eFunc) {
|
||||||
eFunc(error);
|
eFunc(error);
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.finally(() => {
|
.finally(() => {
|
||||||
|
refreshCsrf();
|
||||||
if (fFunc) {
|
if (fFunc) {
|
||||||
fFunc();
|
fFunc();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue