Closed
Description
This is a spawn-off of #1689 (thanks @oxy 🎉)
Steps to Reproduce
See #1689
Expected
A helpful error message regarding what letters/characters/combinations the username accepts
Actual
An undetailed error message
Screenshot
Notes
The Yup validation needs improvements here:
This uses username
validation, which is a custom validator we have in our backend.
To source this, see that the struct has a username
tag here:
Line 57 in c465f8a
Which is defined here:
coder/coderd/httpapi/httpapi.go
Lines 34 to 47 in c465f8a
coder/coderd/httpapi/httpapi.go
Line 18 in c465f8a