Problem
When creating demo users via CREATE DEMO USER, mxcli does not validate the password against the project's password policy. The command succeeds, but the Mendix runtime silently fails to create the user on startup — no error or warning is logged.
The only symptom is Login FAILED: unknown user 'xxx' at login time, which is very misleading.
Steps to Reproduce
- Set up a project with a strict password policy (e.g., min 12 chars, require digit, mixed case, symbol)
- Create a demo user with a non-compliant password:
CREATE DEMO USER 'testuser' PASSWORD '1' (User);
- mxcli reports success:
Created demo user: testuser
- Run the app — the user is never created in the database
- Login fails with
unknown user 'testuser'
Expected Behavior
Either:
- Validate at creation time: mxcli reads the project's password policy and rejects non-compliant passwords with a clear error
- Warn at creation time: mxcli warns that the password may not meet the project's password policy
Environment
- mxcli version: latest
- Mendix version: 11.6.4
- Password policy: MinimumLength=12, RequireDigit=true, RequireMixedCase=true
Problem
When creating demo users via
CREATE DEMO USER, mxcli does not validate the password against the project's password policy. The command succeeds, but the Mendix runtime silently fails to create the user on startup — no error or warning is logged.The only symptom is
Login FAILED: unknown user 'xxx'at login time, which is very misleading.Steps to Reproduce
Created demo user: testuserunknown user 'testuser'Expected Behavior
Either:
Environment