Skip to main content

[CPANEL-32505] Username/Domain Validation during account creation.

Comments

8 comments

  • cPanelLauren
    This is discussed at length in the following threads:
    0
  • ca2236
    Hi Thank you for the forums, But I think the discussions there are different. I'm asking if there can be a warning/error / red x etc as a form validation check so I don't have to create the account to find out if the user will be accepted or not. As it stands. if the username is failed or invalid due to the length limit or lack there off. It should not give me a a green check box implying that the username is good/valid and then find out that it isn't really. Even if I converted to MariaDB or upgraded to the latest MySQL that went to 8/16/32 character length and that removed the first matching character rule. It would still indicate a valid username (because you are getting the green check mark) if you are trying to create a username that already exists.
    0
  • cPanelLauren
    OH, I think I missed the point here. So the issue is, that you're getting a successful validation message on the username when it is too close to another username and subsequently fails to be created? Which is a username that exists on the system already and when I hit save I get: Create a New Account Account Creation Status: failed (XID zqdhpz) This system already has an account named "cptest". at /usr/local/cpanel/Whostmgr/Accounts/Create.pm line 623.
    This does not sound like the intended behavior. Give me a bit to look through open cases and if I don't find one that matches I'll open a new one. I'll update either way with the case ID when I have one available.
    0
  • ca2236
    Correct. I know it is probably a form input validation rather than system check, but I'm thinking it should be generating an error or warning or red X or something if the username already exists (or is too similar to what is on the system if that is still applicable). because if you go to fill all that out and then hit submit, it fails then you have to start all over which is kind of frustrating sometimes. It even happens on reserved names that I just found out. This is a prime example, I didn't know I couldn't create this, but the green check mark - in one sense - shows that it is fine. One other time I had this testwebsite combination, it didn't have a green check mark, it had nothing, but not sure sure if it was a fluke or not. Because when I tried it again. It was green check marks again. for similar username error: I realize the green check mark might just mean the form is filled out? But it is also potentially indicating that is a valid name and then you get a surprise that you can't use it.
    0
  • cPanelLauren
    I agree it's misleading, I didn't find an existing case and I'm working on opening one now.
    0
  • ca2236
    thanks
    0
  • cPanelLauren
    Hi @ca2236 I just wanted to let you know I got that case open the ID is: CPANEL-32505 - Create An Account username and domain field in WHM UI is misleading as users assume validation is being done I ended up filing this as an improvement case as, after some contemplation, I don't believe it's necessarily a bug but more so a way to lessen potential confusion in regard to this behavior. Thanks!
    0
  • ca2236
    thanks
    0

Please sign in to leave a comment.