mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Merge pull request #1114 from YunoHost/user_create_regex
[mod](user_create) only ask for one letter for first/last name
This commit is contained in:
commit
d437257e5c
1 changed files with 2 additions and 2 deletions
|
@ -87,7 +87,7 @@ user:
|
|||
ask: ask_firstname
|
||||
required: True
|
||||
pattern: &pattern_firstname
|
||||
- !!str ^([^\W\d_]{2,30}[ ,.'-]{0,3})+$
|
||||
- !!str ^([^\W\d_]{1,30}[ ,.'-]{0,3})+$
|
||||
- "pattern_firstname"
|
||||
-l:
|
||||
full: --lastname
|
||||
|
@ -95,7 +95,7 @@ user:
|
|||
ask: ask_lastname
|
||||
required: True
|
||||
pattern: &pattern_lastname
|
||||
- !!str ^([^\W\d_]{2,30}[ ,.'-]{0,3})+$
|
||||
- !!str ^([^\W\d_]{1,30}[ ,.'-]{0,3})+$
|
||||
- "pattern_lastname"
|
||||
-m:
|
||||
full: --mail
|
||||
|
|
Loading…
Add table
Reference in a new issue