diff options
-rw-r--r-- | interface-definitions/system-login.xml.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/interface-definitions/system-login.xml.in b/interface-definitions/system-login.xml.in index 4bfe82268..f4613b8a2 100644 --- a/interface-definitions/system-login.xml.in +++ b/interface-definitions/system-login.xml.in @@ -44,6 +44,9 @@ <tagNode name="public-keys"> <properties> <help>Remote access public keys</help> + <constraint> + <regex>^[-_a-zA-Z0-9@]+$</regex> + </constraint> <valueHelp> <format>txt</format> <description>Key identifier used by ssh-keygen (usually of form user@host)</description> |