From 487104e51d903da4a039f6bc70e6bb81f9606f7b Mon Sep 17 00:00:00 2001 From: uakci Date: Tue, 17 Dec 2024 20:03:20 +0100 Subject: [PATCH] *hotfix voice* register? i hardly know er --- core/api.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/core/api.ts b/core/api.ts index cf19d6b..90a7bcc 100644 --- a/core/api.ts +++ b/core/api.ts @@ -318,6 +318,7 @@ actions.register = guard( pass: checks.limit(128), }, (ret, i) => { + return ret(flip('registrations are temporarily disabled')); if (store.pass.hashes[i.name]) return ret(flip('already registered')); store.pass.hashes[i.name] = bcrypt.hashSync( i.pass,