mirror of
https://github.com/ProjectSegfault/website.git
synced 2024-11-23 00:22:59 +05:30
make pubnix usernames be lowecase
This commit is contained in:
parent
90e83b5048
commit
0edde05679
@ -16,7 +16,7 @@ export const actions: Actions = {
|
|||||||
username: Joi.string()
|
username: Joi.string()
|
||||||
.required()
|
.required()
|
||||||
.alphanum()
|
.alphanum()
|
||||||
.message("Username must be alphanumeric"),
|
.lowercase(),
|
||||||
email: Joi.string().email().required(),
|
email: Joi.string().email().required(),
|
||||||
ssh: Joi.string()
|
ssh: Joi.string()
|
||||||
.required()
|
.required()
|
||||||
|
Loading…
Reference in New Issue
Block a user