Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't use digits when creating new user in the web ui #103

Closed
Gallium70 opened this issue May 29, 2023 · 1 comment · Fixed by #152
Closed

Can't use digits when creating new user in the web ui #103

Gallium70 opened this issue May 29, 2023 · 1 comment · Fixed by #152
Labels
bug Something isn't working

Comments

@Gallium70
Copy link

** Supporting Details **
Provide the following:

  • Browser Version: Chromium 112.0.5615.121
  • Headscale Version: 0.22.3
  • Any Browser Errors (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?

@routerino
Copy link
Contributor

routerino commented May 31, 2023

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.

@routerino routerino added the bug Something isn't working label Aug 22, 2023
@routerino routerino linked a pull request Oct 1, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants