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) {
password_quality(value)
.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";
else
variant = "danger";
@ -46,7 +56,7 @@ Index: cockpit/pkg/lib/cockpit-components-password.jsx
return (
<>
@@ -101,16 +106,7 @@ export const PasswordFormFields = ({
@@ -101,16 +108,7 @@ export const PasswordFormFields = ({
fieldId={idPrefix + "-pw1"}>
<TextInput className="check-passwords" type="password" id={idPrefix + "-pw1"}
autocomplete="new-password" value={password} onChange={onPasswordChanged} />