From ca341cc189eda6a42355229f6fbbe4a4237bb048 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Lebleu?= Date: Sat, 19 Jul 2014 15:05:57 +0200 Subject: [PATCH] [fix] Allow - in first name's check pattern at user creation --- actionsmap/yunohost.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actionsmap/yunohost.yml b/actionsmap/yunohost.yml index 8e90b9319..3614e450e 100644 --- a/actionsmap/yunohost.yml +++ b/actionsmap/yunohost.yml @@ -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