mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-22 17:03:49 +01:00
Merge pull request 'Fix: email validation' (#9984) from s1idewhist1e/calckey:issue/9268 into develop
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9984
This commit is contained in:
commit
5983543132
@ -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…
Reference in New Issue
Block a user