SHA256
1
0
forked from cockpit/cockpit
Adam Majer 2022-06-14 11:54:57 +00:00 committed by Git OBS Bridge
parent ccac76747d
commit 7d66a39dab

View File

@ -38,7 +38,17 @@ Index: cockpit/pkg/lib/cockpit-components-password.jsx
if (value) { if (value) {
password_quality(value) password_quality(value)
.catch(ex => { .catch(ex => {
@@ -84,6 +88,7 @@ export const PasswordFormFields = ({ @@ -73,7 +77,9 @@ export const PasswordFormFields = ({
setPasswordStrength("");
setPasswordMessage("");
}
+*/
}
+/*
let variant;
if (passwordStrength === "")
@@ -84,6 +90,7 @@ export const PasswordFormFields = ({
variant = "warning"; variant = "warning";
else else
variant = "danger"; variant = "danger";
@ -46,7 +56,7 @@ Index: cockpit/pkg/lib/cockpit-components-password.jsx
return ( return (
<> <>
@@ -101,16 +106,7 @@ export const PasswordFormFields = ({ @@ -101,16 +108,7 @@ export const PasswordFormFields = ({
fieldId={idPrefix + "-pw1"}> fieldId={idPrefix + "-pw1"}>
<TextInput className="check-passwords" type="password" id={idPrefix + "-pw1"} <TextInput className="check-passwords" type="password" id={idPrefix + "-pw1"}
autocomplete="new-password" value={password} onChange={onPasswordChanged} /> autocomplete="new-password" value={password} onChange={onPasswordChanged} />