Update signup.ts
This commit is contained in:
parent
85008303f5
commit
4f043b1841
@ -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 New Issue
Block a user