adding fake cloudflare error page for private_society spoofing

This commit is contained in:
2026-05-13 10:10:53 +02:00
parent d720532661
commit 365c0a4b29
6 changed files with 429 additions and 85 deletions

View File

@@ -115,7 +115,7 @@ export default (router, tpl) => {
from "user"
where "login" = ${username.toLowerCase()}
or "user" = ${username}
or ("email" is not null and "email" = ${email})
${email ? db`or ("email" is not null and "email" = ${email})` : db``}
`;
if (existing.length > 0) {