Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Mab
plume
Commits
c541e202
Commit
c541e202
authored
Feb 08, 2019
by
Yannis Barlas
Browse files
feat(signup): allow . and _ in usernames
parent
68782e70
Changes
1
Hide whitespace changes
Inline
Side-by-side
config/modules/validations.js
View file @
c541e202
...
...
@@ -29,4 +29,7 @@ module.exports = {
team
:
{
global
:
Joi
.
boolean
().
allow
(
null
),
},
user
:
{
username
:
Joi
.
string
().
regex
(
/^
[
a-zA-Z0-9_.
]
+$/
),
},
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment