force session for all users, even not logged in, to ensure they can save routing settings via api

This commit is contained in:
Gwendolyn 2023-12-21 16:32:26 +01:00
parent 348c176502
commit 511a40fb5a
3 changed files with 5 additions and 6 deletions

View file

@ -10,7 +10,7 @@
authenticate() {
return fetch(this.base+'auth/session/', {
credentials: 'include',
credentials: 'same-origin',
method: 'GET',
})
.then(res => res.json())