Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/thedevs-network/kutt.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--server/handlers/validators.ts2
1 files changed, 0 insertions, 2 deletions
diff --git a/server/handlers/validators.ts b/server/handlers/validators.ts
index 7b5015c..9511248 100644
--- a/server/handlers/validators.ts
+++ b/server/handlers/validators.ts
@@ -147,8 +147,6 @@ export const editLink = [
.withMessage(`${env.DEFAULT_DOMAIN} URLs are not allowed.`),
body("password")
.optional({ nullable: true, checkFalsy: true })
- .custom(checkUser)
- .withMessage("Only users can use this field.")
.isString()
.isLength({ min: 3, max: 64 })
.withMessage("Password length must be between 3 and 64."),