Fix: bulk add redirection with ending slash
Otherwise cookie may not be store under the right subfolder, thus generating tokens in the wrong session file. Fixes #1690
This commit is contained in:
parent
ffa39719a1
commit
3d6278e86f
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ const redirectIfEmptyBatch = (basePath, formElements, path) => {
|
|||
});
|
||||
|
||||
Promise.all(promises).then(() => {
|
||||
window.location.href = basePath || '/';
|
||||
window.location.href = `${basePath}/`;
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue