fix: force lowercase mail
This commit is contained in:
parent
374624097c
commit
fdd4c4fc61
|
@ -13,7 +13,7 @@ export async function createUsers(
|
||||||
const { user } = await redmine.users.create({
|
const { user } = await redmine.users.create({
|
||||||
firstname: capitalize(sanitize(firstname)),
|
firstname: capitalize(sanitize(firstname)),
|
||||||
lastname: capitalize(sanitize(lastname)),
|
lastname: capitalize(sanitize(lastname)),
|
||||||
mail: mail,
|
mail: mail.toLowerCase(),
|
||||||
login,
|
login,
|
||||||
sendCreationMail: true,
|
sendCreationMail: true,
|
||||||
generatePassword: true,
|
generatePassword: true,
|
||||||
|
|
Loading…
Reference in a new issue