Update signup.ts
This commit is contained in:
parent
85008303f5
commit
4f043b1841
1 changed files with 1 additions and 0 deletions
|
@ -143,6 +143,7 @@ export default async (ctx: Koa.BaseContext) => {
|
||||||
}));
|
}));
|
||||||
|
|
||||||
await transactionalEntityManager.save(new UsedUsername({
|
await transactionalEntityManager.save(new UsedUsername({
|
||||||
|
createdAt: new Date(),
|
||||||
username: username.toLowerCase(),
|
username: username.toLowerCase(),
|
||||||
}));
|
}));
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue