AY-7317_Password reset requirements hint
Please describe the enhancement you have in mind and explain what the current shortcomings are?
Typing invalid password only shows this pop-up bottom right:
How would you imagine the implementation of the enhancemenent?
The requirements are defined on the server, so maybe we can write them in plain english on the client.
Provide human-readable information about what's wrong.
Describe alternatives you've considered:
No response
Additional context:
link to discussion on Discord (might be a private channel)
This issue was automatically created from Clickup ticket AY-7317
- Password reset page
- Users password set dialog
The requirements are actually reported by the server in a 'readable manner' here
However changing the password does not 'raise' the same thing here with response here. Likely re-raising the message may sufficiently help to provide more details when it is actually wrong?
And hence lacks that information.
Also note that the minimum password length can be adjusted on the server side using ayonconfig so I wonder if it's worth it for the client to somehow request from the server what the requirements are - and then report those requirements to the user. So that the server is still in control of describing the current requirements? Otherwise we may not know about the password length check?
As such, this may be more related to the backend?
@martastain Can you please chime in on this one ? Do we need backend support ?
This is backend-related, all validation and configuration for password security is handled on the server. The frontend only displays the messages provided by the backend, so more specific messages need to be returned. Password: password endpoints return only generic error instead of specific validation messages