You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After a successful login, locale is set by cookies for 1 year. And if there was no login (anonymous authentication) - the locale is not set, we stay under the same user (e.g. admin), but cookies are not overwritten, although the locale may have changed.
Texts from ClientMessages are shown for example in date picker.
Possible solution by Alex:
Well, I see one clean option here so far.
Make an event when user locale changes to record the time and deny all tokens before that time during authentication.
Or store locale in token and compare locale during authentication and reject if different.
But the question is how critical the problem is.
Now workaround is relogin after changing locale on the server.
The text was updated successfully, but these errors were encountered:
After a successful login, locale is set by cookies for 1 year. And if there was no login (anonymous authentication) - the locale is not set, we stay under the same user (e.g. admin), but cookies are not overwritten, although the locale may have changed.
Texts from ClientMessages are shown for example in date picker.
Possible solution by Alex:
Well, I see one clean option here so far.
Make an event when user locale changes to record the time and deny all tokens before that time during authentication.
Or store locale in token and compare locale during authentication and reject if different.
But the question is how critical the problem is.
Now workaround is relogin after changing locale on the server.
The text was updated successfully, but these errors were encountered: