From 2aecb809f6aa6559c2247a6454ed3ad17c54940c Mon Sep 17 00:00:00 2001
From: CJ <15969459+fvanroie@users.noreply.github.com>
Date: Sun, 13 May 2018 16:54:43 +0200
Subject: [PATCH] Fix help message on enabled, username and password (#668)
The help message on the Freeradius User form is off for the enabled, username and password fields.
Username and Password have regex mask validation patterns, but the help message was placed on the wrong field.
Fixed this by moving the 'Allowed characters' text to the correct help field.
---
.../OPNsense/Freeradius/forms/dialogEditFreeRADIUSUser.xml | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/net/freeradius/src/opnsense/mvc/app/controllers/OPNsense/Freeradius/forms/dialogEditFreeRADIUSUser.xml b/net/freeradius/src/opnsense/mvc/app/controllers/OPNsense/Freeradius/forms/dialogEditFreeRADIUSUser.xml
index b92100f7a..497842678 100644
--- a/net/freeradius/src/opnsense/mvc/app/controllers/OPNsense/Freeradius/forms/dialogEditFreeRADIUSUser.xml
+++ b/net/freeradius/src/opnsense/mvc/app/controllers/OPNsense/Freeradius/forms/dialogEditFreeRADIUSUser.xml
@@ -3,19 +3,19 @@
user.enabledcheckbox
- This will enable or disable the user account. Allowed characters are 0-9, a-z, A-Z, and ._-
+ This will enable or disable the user account.user.usernametext
- Set the unique username for the user. Allowed characters are 0-9, a-z, A-Z, and ,._-!$%/()+#= with up to 128 characters.
+ Set the unique username for the user. Allowed characters are 0-9, a-z, A-Z, and ._-user.passwordpassword
- Set the password for the user.
+ Set the password for the user. Allowed characters are 0-9, a-z, A-Z, and ,._-!$%/()+#= with up to 128 characters.user.description