1
0
Fork 0
This commit is contained in:
hkernbach 2015-12-18 18:31:14 +01:00
parent d004147a5c
commit e2b3b16bf1
2 changed files with 5 additions and 0 deletions

View File

@ -451,6 +451,10 @@
"Username",
true,
[
{
rule: Joi.string().regex(/^[a-zA-Z0-9\-_]*$/),
msg: 'Only symbols, "_" and "-" are allowed.'
},
{
rule: Joi.string().required(),
msg: "No username given."

View File

@ -123,6 +123,7 @@ $iconsize: 50px;
height: $iconsize;
margin-left: 90px;
margin-top: 10px;
position: absolute;
width: $iconsize;
}