Incorrect error code (3088) when logging in with a disabled user

I set the “enabled” field of a User to DISABLED and then tried to login using the JavaScript SDK and I get the error:

3088 User cannot login - account is disabled

but the documents mention a different error for 3088:

Property ‘email’ must be selected as ‘required’ if ‘Require Email Confirmation’ is enabled


I was expecting 3090.

Hello, Simon!

Thank you for reporting, I’ve reproduced this issue. We shall fix it soon. Internal task ID is BKNDLSS-12398.
best regards,