mirror of
https://github.com/BreizhHardware/Jellystat.git
synced 2026-01-18 16:27:20 +01:00
fix for #254 remove password length check on old password field
This commit is contained in:
@@ -95,7 +95,7 @@ export default function SettingsConfig() {
|
||||
async function handleFormSubmit(event) {
|
||||
event.preventDefault();
|
||||
setisSubmitted("");
|
||||
if (formValues.JS_C_PASSWORD && formValues.JS_C_PASSWORD.length < 6) {
|
||||
if (formValues.JS_C_PASSWORD) {
|
||||
setisSubmitted("Failed");
|
||||
setsubmissionMessage(i18next.t("ERROR_MESSAGES.PASSWORD_LENGTH"));
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user