In a multilanguage setup, when Spanish is the only language, a new user cannot be created, the error is "Please enter a valid language".
In my test this did not happen when choosing other languages like English, French or German as the only language, or when adding additional languages to Spanish as default.
Expected behavior
A user should be created.
Screenshots
To reproduce
In a fresh Starterkit, enable languages in config.
In the Panel, add Spanish as new (and only) language.
Try to create a new user.
See error
Your setup
Kirby Version
3.6.1.1.
Console output
{"$dialog":{"code":400,"error":"Please enter a valid language","path":"dialogs\/users\/create","referrer":"\/users"}}
Your system (please complete the following information)
Description
In a multilanguage setup, when Spanish is the only language, a new user cannot be created, the error is "Please enter a valid language".
In my test this did not happen when choosing other languages like English, French or German as the only language, or when adding additional languages to Spanish as default.
Expected behavior
A user should be created.
Screenshots
To reproduce
Your setup
Kirby Version
3.6.1.1.
Console output
{"$dialog":{"code":400,"error":"Please enter a valid language","path":"dialogs\/users\/create","referrer":"\/users"}}
Your system (please complete the following information)
Additional context
https://forum.getkirby.com/t/error-creating-users-on-3-6/24129