Open Gallium70 opened 1 year ago
I believe that restriction might be a holdover from a previous headscale version. Also yes, inputs are checked (ideally) at both front and back end.
I'll fix it up and release a new version in the next couple of days.
Supporting Details Provide the following:
control+shift+i
in chrome to see)Describe the bug
When I tried creating a new user with digits in the username, a popup says "Use lower case letters, periods, or dashes only". However I could create a user with the same name in the headscale CLI (
headscale users create
), and this user could be displayed in the web UI properly. Seems that this username format is checked at the frontend rather than enforced by the headscale server. Should the username format restriction be consistent between the web UI and headscale server?