summaryrefslogtreecommitdiff
path: root/src/server/api/private/signup.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/api/private/signup.ts')
-rw-r--r--src/server/api/private/signup.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/server/api/private/signup.ts b/src/server/api/private/signup.ts
index c1f06fd339..b8793582fd 100644
--- a/src/server/api/private/signup.ts
+++ b/src/server/api/private/signup.ts
@@ -143,6 +143,7 @@ export default async (ctx: Koa.BaseContext) => {
}));
await transactionalEntityManager.save(new UsedUsername({
+ createdAt: new Date(),
username: username.toLowerCase(),
}));
});