Validate usernames of new members #101

Open
opened 2023-09-20 20:08:20 -04:00 by merenber · 2 comments
Owner

Usernames should be at least two characters long and consist of lowercase letters, digits, and hyphens (the first character should not be a hyphen). This will prevent common typos from being made, like accidentally adding a leading space (which happened recently).

Usernames should be at least two characters long and consist of lowercase letters, digits, and hyphens (the first character should not be a hyphen). This will prevent common typos from being made, like accidentally adding a leading space (which happened recently).
merenber added the
priority
very high
label 2023-10-14 22:17:33 -04:00
Author
Owner

Re-opening since there is still no validation happening on the server side (ceod).

Re-opening since there is still no validation happening on the server side (ceod).
merenber reopened this issue 2024-01-15 22:22:12 -05:00
Member
VALID_USERNAME_RE = re.compile(r"^[a-z][a-z0-9-_]+$")

Allows for underscores to be present in usernames, they should be disallowed. However, disallowing them breaks a lot of tests so those will have to be fixed.

```py VALID_USERNAME_RE = re.compile(r"^[a-z][a-z0-9-_]+$") ``` Allows for underscores to be present in usernames, they should be disallowed. However, disallowing them breaks a lot of tests so those will have to be fixed.
o32patel added
priority
medium
and removed
priority
very high
labels 2024-01-22 13:37:56 -05:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: public/pyceo#101
No description provided.