kratos icon indicating copy to clipboard operation
kratos copied to clipboard

"Too similar to identifier" password error has wrong id

Open WoodyWoodsta opened this issue 1 year ago • 1 comments

Preflight checklist

Ory Network Project

No response

Describe the bug

When registering with a password which is too similar to the identifier, I get a UI error message back with code 4000005. However, the documentation suggests that this should be 4000031. This makes it difficult to discriminate the errors programatically.

Reproducing the bug

Register with a password that is too similar and observe the error message.

Relevant log output

No response

Relevant configuration

No response

Version

v1.0.0

On which operating system are you observing this issue?

None

In which environment are you deploying?

None

Additional Context

No response

WoodyWoodsta avatar Dec 18 '23 10:12 WoodyWoodsta

This unfortunately also happens with other password errors (password too short, password found in data breaches, ...)

cpwetteronline avatar Jan 31 '24 11:01 cpwetteronline