plots2 icon indicating copy to clipboard operation
plots2 copied to clipboard

username should accept the correct format

Open anshitavishwa opened this issue 6 years ago • 5 comments

During Sign Up the publiclab site, the username box accepts any format, for an example "_1234589"

The username definitely shouldn't contain special characters, but that should also yield to the rules of the system, those mainly being:

A username should consist of lowercase alphanumeric characters A username must not contain special characters EXCEPT for _, but never at the start or end A username must not start with a number

The default regex for it should be ^[a-z][_a-z0-9]*$

Screenshot from 2019-12-17 17-30-45

I would like to work on this issue.

anshitavishwa avatar Dec 17 '19 12:12 anshitavishwa

Thanks for opening your first issue! This space is protected by our Code of Conduct - and we're here to help. Please follow the issue template to help us help you 👍🎉😄 If you have screenshots or a gif to share demonstrating the issue, that's really helpful! 📸 Do join our Gitter channel for some brainstorming discussions.

welcome[bot] avatar Dec 17 '19 12:12 welcome[bot]

Hey @AnshitaVishwa, Nice catch :+1: ...thanks so much..

cesswairimu avatar Dec 17 '19 17:12 cesswairimu

@AnshitaVishwa , did you get unstuck? I see a comment in my email that I can't see here...maybe I lost the link...just let me know if I can help in anyway. Thanks

cesswairimu avatar Dec 18 '19 17:12 cesswairimu

@cesswairimu Thanks a lot !!. I got the solution where I was stuck. Now It's fine I m working on it. Thanks :)

anshitavishwa avatar Dec 19 '19 14:12 anshitavishwa

Wow, this seems like it is important to fix. @AnshitaVishwa, how are things going now? I see you had a PR that got stale, but we remain grateful for any contributions you are called to make to Public Lab. Thank you!

ebarry avatar Oct 08 '20 12:10 ebarry