Commit a076459b authored by Christophe Maudoux's avatar Christophe Maudoux

Allow figures in login (#1667)

parent e0204c6a
......@@ -288,7 +288,7 @@ sub defaultValues {
'u2fSelfRegistration' => 0,
'u2fUserCanRemoveKey' => 1,
'upgradeSession' => 1,
'userControl' => '^[\\w\\.\\-@]+$',
'userControl' => '^[\\w\\.\\-@\\d]+$',
'userDB' => 'Same',
'useRedirectOnError' => 1,
'useSafeJail' => 1,
......
......@@ -3402,7 +3402,7 @@ qr/^(?:(?:(?:(?:(?:(?:[a-zA-Z0-9][-a-zA-Z0-9]*)?[a-zA-Z0-9])[.])*(?:[a-zA-Z][-a-
'type' => 'bool'
},
'userControl' => {
'default' => '^[\\w\\.\\-@]+$',
'default' => '^[\\w\\.\\-@\\d]+$',
'type' => 'pcre'
},
'userDB' => {
......
......@@ -767,7 +767,7 @@ sub attributes {
},
userControl => {
type => 'pcre',
default => '^[\w\.\-@]+$',
default => '^[\w\.\-@\d]+$',
documentation => 'Regular expression to validate login',
},
useRedirectOnError => {
......
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment