Actually store updated CSRF token.
This commit is contained in:
parent
3980939d54
commit
594346d262
1 changed files with 2 additions and 0 deletions
|
@ -104,6 +104,8 @@ function updateCSRF(token: string, realm: string = null, name: string = 'csrf'):
|
|||
}
|
||||
}
|
||||
|
||||
setCSRF(realm, token);
|
||||
|
||||
const elements: NodeListOf<HTMLInputElement> = document.getElementsByName(`${name}[${realm}]`) as NodeListOf<HTMLInputElement>;
|
||||
|
||||
for (let i = 0; i < elements.length; i++) {
|
||||
|
|
Loading…
Add table
Reference in a new issue