summary refs log tree commit diff
path: root/src/api/routes/auth/verify/resend.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/routes/auth/verify/resend.ts')
-rw-r--r--src/api/routes/auth/verify/resend.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/routes/auth/verify/resend.ts b/src/api/routes/auth/verify/resend.ts
index d9a9cda5..a798a3d9 100644
--- a/src/api/routes/auth/verify/resend.ts
+++ b/src/api/routes/auth/verify/resend.ts
@@ -25,7 +25,7 @@ const router = Router();
 router.post("/", route({}), async (req: Request, res: Response) => {
 	const user = await User.findOneOrFail({
 		where: { id: req.user_id },
-		select: ["email"],
+		select: ["username", "email"],
 	});
 
 	if (!user.email) {