Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/registrations/_form.haml')
-rw-r--r--app/views/registrations/_form.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/registrations/_form.haml b/app/views/registrations/_form.haml
index 9cd6ce0f7..b9f99cfa5 100644
--- a/app/views/registrations/_form.haml
+++ b/app/views/registrations/_form.haml
@@ -32,7 +32,7 @@
placeholder: t("registrations.new.username"),
title: t("registrations.new.enter_username"),
required: true,
- pattern: "[A-Za-z0-9_]+",
+ pattern: "[A-Za-z0-9_.\-]+",
aria: {labelledby: "usernameLabel"}
- if mobile