In a multi-language site you can only set the user language (via the panel) after switching the language of the page and only between the languages set up for the site.
To Reproduce
Steps to reproduce the behavior:
Set up a multi-language site
Go to “Your Account” and change user language (not working)
Switch language of the page via the panel
Change user language
User language changes to the other set up language
Kirby Version
3.6.0-rc.1 (everything works as expected in 3.5.7.1)
Additional context
Post request seems to be set to the language the page has been switched to:
POST | …/panel/dialogs/users/…/changeLanguage?language=de
The $_POST language parameter seems to conflict with the $_GET language parameter. If we change the $_POST language parameter to lang or userLanguage it will work.
Describe the bug
In a multi-language site you can only set the user language (via the panel) after switching the language of the page and only between the languages set up for the site.
To Reproduce Steps to reproduce the behavior:
Kirby Version
3.6.0-rc.1 (everything works as expected in 3.5.7.1)
Additional context
Post request seems to be set to the language the page has been switched to:
POST | …/panel/dialogs/users/…/changeLanguage?language=de