mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-03-04 07:18:50 -07:00
fix email validation
This commit is contained in:
parent
f0dc329296
commit
b1bbc3ac8e
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ export default async (ctx: Koa.Context) => {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
const available = await validateEmailForAccount(emailAddress);
|
const { available } = await validateEmailForAccount(emailAddress);
|
||||||
if (!available) {
|
if (!available) {
|
||||||
ctx.status = 400;
|
ctx.status = 400;
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Add table
Reference in a new issue