From fb76d6e8bd7d94b6398f97d4313f2743bd059401 Mon Sep 17 00:00:00 2001
From: srosse <stephane.rosse@frentix.com>
Date: Wed, 16 Oct 2019 16:41:12 +0200
Subject: [PATCH] OO-4308: increase default user name max. length to 64

---
 src/main/resources/serviceconfig/olat.properties | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/resources/serviceconfig/olat.properties b/src/main/resources/serviceconfig/olat.properties
index 0b7a98177ff..b5d189f501e 100644
--- a/src/main/resources/serviceconfig/olat.properties
+++ b/src/main/resources/serviceconfig/olat.properties
@@ -222,7 +222,7 @@ login.using.username.or.email.enabled=true
 
 # Regex to validate username of new users. If yo change this property,
 # Make sure to change the translation of $org.olat.user\:form.checkUsername accordingly.
-username.regex=[0-9a-z\\.\\-@_]{4,32}
+username.regex=[0-9a-z\\.\\-@_]{4,64}
 
 # permit users to change their own passwords
 # (if you set this to false, nobody can can change their pws!)
-- 
GitLab