net/freeradius: Allow & as a password character #4115

This commit is contained in:
captainko
2024-07-26 18:47:02 +07:00
committed by Franco Fichtner
parent deebe03e41
commit a66cc228f8
2 changed files with 2 additions and 2 deletions
@@ -15,7 +15,7 @@
<id>user.password</id>
<label>Password</label>
<type>password</type>
<help>Set the password for the user. Allowed characters are 0-9, a-z, A-Z, and ,._-!$%/()+#=: with up to 128 characters.</help>
<help><![CDATA[Set the password for the user. Allowed characters are 0-9, a-z, A-Z, and ,._-!$%/()+#=:& with up to 128 characters.]]></help>
</field>
<field>
<id>user.passwordencryption</id>
@@ -15,7 +15,7 @@
</username>
<password type="TextField">
<Required>Y</Required>
<mask>/^([0-9a-zA-Z._\-\!\$\%\/\(\)\+\#\=\{\}:]){1,128}$/u</mask>
<mask><![CDATA[/^([0-9a-zA-Z._\-\!\$\%\/\(\)\+\#\=\{\}:&]){1,128}$/u]]></mask>
</password>
<passwordencryption type="OptionField">
<default>Cleartext-Password</default>