Skip to content

Commit

Permalink
message edit
Browse files Browse the repository at this point in the history
  • Loading branch information
thremilien committed Aug 23, 2024
1 parent 875194c commit 12020c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inginious/frontend/pages/register.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def register_user(self, data):
# Check input format
if re.match(r"^[-_|~0-9A-Z]{4,}$", data["username"], re.IGNORECASE) is None:
error = True
msg = _("Invalid username format. Username should only contain A-Z, 0-9, - _ ~ and at least be 4 characters long")
msg = _("Invalid username format. Username should only contain A-Z, a-z, 0-9, - _ ~ and at least be 4 characters long")
elif email is None:
error = True
msg = _("Invalid email format.")
Expand Down

0 comments on commit 12020c8

Please sign in to comment.