summaryrefslogtreecommitdiff
path: root/interface-definitions/system-login.xml.in
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-05-05 22:52:06 +0200
committerChristian Breunig <christian@breunig.cc>2023-05-05 22:52:06 +0200
commit2c8647350a771a8e28db03ec82cda20b58db7323 (patch)
treeedfec8adb73192f876be333660e73de1dd4cdadc /interface-definitions/system-login.xml.in
parent11e25707683138d4a5a64a3717160edb84816182 (diff)
downloadvyos-1x-2c8647350a771a8e28db03ec82cda20b58db7323.tar.gz
vyos-1x-2c8647350a771a8e28db03ec82cda20b58db7323.zip
syslog: T2769: xml: provide common constraint for system usernames
Diffstat (limited to 'interface-definitions/system-login.xml.in')
-rw-r--r--interface-definitions/system-login.xml.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/interface-definitions/system-login.xml.in b/interface-definitions/system-login.xml.in
index 258913929..be4f53c3b 100644
--- a/interface-definitions/system-login.xml.in
+++ b/interface-definitions/system-login.xml.in
@@ -12,7 +12,7 @@
<properties>
<help>Local user account information</help>
<constraint>
- <regex>[-_a-zA-Z0-9.]{1,100}</regex>
+ #include <include/constraint/login-username.xml.i>
</constraint>
<constraintErrorMessage>Username contains illegal characters or\nexceeds 100 character limitation.</constraintErrorMessage>
</properties>