I don't know why I didn't just do this from the start
This commit is contained in:
@@ -40,7 +40,10 @@ export async function handler (context: Context) {
|
||||
)
|
||||
}
|
||||
const time = Math.floor(Date.now() / 1000)
|
||||
if (!(await verifyTurstileOrVerifyCode(body.token, body.verifyCode, ip, db0)))
|
||||
if (
|
||||
!(await verifyTurstileOrVerifyCode(body.token, body.verifyCode, ip, db0))
|
||||
) {
|
||||
connection0.end()
|
||||
return jsonResponse(
|
||||
{
|
||||
success: false,
|
||||
@@ -51,6 +54,7 @@ export async function handler (context: Context) {
|
||||
},
|
||||
400
|
||||
)
|
||||
}
|
||||
|
||||
const notFound = `You requested information about your account. Unfortunately, we were unable to find your account associated with this email. This is caused by either an incorrect email provided during signup, or this email not owning a Lncvrt Games account.`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user