From ea5e90943d2a5ef4cff6266878c4335b38472555 Mon Sep 17 00:00:00 2001 From: robbond Date: Fri, 6 Nov 2026 09:26:10 +0000 Subject: [PATCH] chore: remove unused legacy CRM password validation --- components/account/registerform.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/components/account/registerform.js b/components/account/registerform.js index 82607dd4..51836bb9 100644 --- a/components/account/registerform.js +++ b/components/account/registerform.js @@ -92,11 +92,6 @@ const RegisterForm = (props) => { ? "Invalid phone number" : undefined; - const passwordsMatch = (value, allValues) => - value !== allValues.pinswg_custom_password - ? "Passwords don't match" - : undefined; - const minLength = (min) => (value) => value && value.length < min ? `Must be ${min} characters or more`