From 3b0f732cc7c81d039513014bccef393f8abf8a30 Mon Sep 17 00:00:00 2001 From: ItsKiddow <56514234+ItsKiddow@users.noreply.github.com> Date: Mon, 6 Jan 2025 20:19:44 +0100 Subject: [PATCH] Update security.jsx Removed a check that evaluated for any input in the Current Password field and would cause the entry to enter in any non-null input to fail due to password length. This is related to: https://github.com/CyferShepard/Jellystat/issues/254 --- src/pages/components/settings/security.jsx | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/pages/components/settings/security.jsx b/src/pages/components/settings/security.jsx index 4ff3e46..4fa9bf5 100644 --- a/src/pages/components/settings/security.jsx +++ b/src/pages/components/settings/security.jsx @@ -95,11 +95,6 @@ export default function SettingsConfig() { async function handleFormSubmit(event) { event.preventDefault(); setisSubmitted(""); - if (formValues.JS_C_PASSWORD) { - setisSubmitted("Failed"); - setsubmissionMessage(i18next.t("ERROR_MESSAGES.PASSWORD_LENGTH")); - return; - } if ( (formValues.JS_C_PASSWORD && !formValues.JS_PASSWORD) ||