[fix] Allow - in first name's check pattern at user creation

This commit is contained in:
Jérôme Lebleu 2014-07-19 15:05:57 +02:00
parent fed3e6f67f
commit ca341cc189

View file

@ -107,7 +107,7 @@ user:
ask: ask_firstname
required: True
pattern:
- "^([^\\W\\d_]{2,30}[ ,.']{0,3})+$"
- "^([^\\W\\d_]{2,30}[ ,.'-]{0,3})+$"
- pattern_firstname
-l:
full: --lastname