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

[Bug] Adding a username with invalid charcters gives silence error #834

Open
feikedonia opened this issue Dec 22, 2024 · 0 comments
Open

Comments

@feikedonia
Copy link

feikedonia commented Dec 22, 2024

Dear Cosmic-team,

So I read #832 and thought how to brake it! (It's testing: I want you to have the best possible product!)

version
cosmic-session-git 1.0.0.alpha.4.r2.g0a3b9f5-1
linux 6.12.6.arch1-1

steps to reproduce

  1. Settings -> System & Accounts -> Users -> Add user-button.
  2. Fill in the Full name-field with a real name: "Real Name" for example.
  3. Fill in the Username-field with some invalid characters, like: "\na$!#@" for example.
  4. Fill in the Password-field with: "test"
  5. Keep the Administrator-slide at unset
  6. Press Add user
  7. Validate the Authentication Required-popup
  8. No user is added.

the problem

  • a user may think he/she added an account, but it didn't .
  • a user may not know which characters are invalid.

proposal
At step 6, when the user presses Add user, have the Username-field with the invalid characters, marked in red with a tool tip: "username may only contain lowercase letters, underscores and numbers"

Thank you

add user
afbeelding

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant