mirror of
https://github.com/BreizhHardware/Jellystat.git
synced 2026-01-18 16:27:20 +01:00
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
This commit is contained in:
@@ -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) ||
|
||||
|
||||
Reference in New Issue
Block a user