make pubnix usernames be lowecase

This commit is contained in:
Akis 2023-02-25 19:34:13 +02:00
parent 90e83b5048
commit 0edde05679
Signed by untrusted user: akis
GPG Key ID: 267BF5C6677944ED

View File

@ -16,7 +16,7 @@ export const actions: Actions = {
username: Joi.string()
.required()
.alphanum()
.message("Username must be alphanumeric"),
.lowercase(),
email: Joi.string().email().required(),
ssh: Joi.string()
.required()