#75296Table be_users doesn't support a language key with 2+ chars
Description
On table be_users, the column lang is a char(2), which allows language keys like “en” and “de”, but does not for “pt_BR” or “fr_CA”.
When trying to create a user with these default languages, a flash message is shown:
These fields of record #id# in table “be_users” have not been saved correctly: lang! The values might have changed due to type casting of the database.
Changing the column to varchar(5) solves the problem.