We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9013807 commit 570346cCopy full SHA for 570346c
src/routes/api/v2/auth/index.ts
@@ -48,7 +48,7 @@ auth.post('/sendmail', async ctx => {
48
// create email
49
const emailAuth = new EmailAuth();
50
emailAuth.code = shortid.generate();
51
- emailAuth.email = email;
+ emailAuth.email = email.toLowerCase();
52
await getRepository(EmailAuth).save(emailAuth);
53
const emailTemplate = createAuthEmail(!!user, emailAuth.code);
54
0 commit comments