From bbe0deda9bfcfd4116c44b42156a628de8400b48 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Wed, 1 Sep 2021 21:51:55 +0200 Subject: login: T1948: fix username regex - add missing start ^ and end $ --- interface-definitions/system-login.xml.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'interface-definitions/system-login.xml.in') diff --git a/interface-definitions/system-login.xml.in b/interface-definitions/system-login.xml.in index 3c2c7dfa5..4bfe82268 100644 --- a/interface-definitions/system-login.xml.in +++ b/interface-definitions/system-login.xml.in @@ -12,7 +12,7 @@ Local user account information - [a-zA-Z0-9\-_\.]{1,100} + ^[-_a-zA-Z0-9.]{1,100} Username contains illegal characters or\nexceeds 100 character limitation. -- cgit v1.2.3