summaryrefslogtreecommitdiffstats
path: root/idp/extra/modules/identities_ui.ptl
diff options
context:
space:
mode:
Diffstat (limited to 'idp/extra/modules/identities_ui.ptl')
-rw-r--r--idp/extra/modules/identities_ui.ptl2
1 files changed, 1 insertions, 1 deletions
diff --git a/idp/extra/modules/identities_ui.ptl b/idp/extra/modules/identities_ui.ptl
index c40d7b7..5b58fce 100644
--- a/idp/extra/modules/identities_ui.ptl
+++ b/idp/extra/modules/identities_ui.ptl
@@ -496,7 +496,7 @@ class IdentitiesDirectory(Directory):
if form.is_submitted():
uid = form.get_widget('uid').parse()
- if uid and not re.match(str('^[A-Za-z0-9]+$'), uid):
+ if uid and not re.match(str('^[A-Za-z0-9\.-]+$'), uid):
form.set_error('uid', _('wrong format'))
if form.is_submitted() and not form.has_errors():