From 12020c84a8a09b973ee02c21d101fab6febde89c Mon Sep 17 00:00:00 2001 From: thremilien Date: Fri, 23 Aug 2024 08:37:15 +0000 Subject: [PATCH] message edit --- inginious/frontend/pages/register.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inginious/frontend/pages/register.py b/inginious/frontend/pages/register.py index 4d51e838f..7c37ee284 100644 --- a/inginious/frontend/pages/register.py +++ b/inginious/frontend/pages/register.py @@ -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.")