mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] Allow - in first name's check pattern at user creation
This commit is contained in:
parent
fed3e6f67f
commit
ca341cc189
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ user:
|
||||||
ask: ask_firstname
|
ask: ask_firstname
|
||||||
required: True
|
required: True
|
||||||
pattern:
|
pattern:
|
||||||
- "^([^\\W\\d_]{2,30}[ ,.']{0,3})+$"
|
- "^([^\\W\\d_]{2,30}[ ,.'-]{0,3})+$"
|
||||||
- pattern_firstname
|
- pattern_firstname
|
||||||
-l:
|
-l:
|
||||||
full: --lastname
|
full: --lastname
|
||||||
|
|
Loading…
Add table
Reference in a new issue