From 7d66a39dab0007580057f96e836bb46ad2dc7e532aff672099b9d95e0d2ab0bf Mon Sep 17 00:00:00 2001 From: Adam Majer Date: Tue, 14 Jun 2022 11:54:57 +0000 Subject: [PATCH] fix compilation OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:cockpit/cockpit?expand=0&rev=90 --- remove-pwscore.patch | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/remove-pwscore.patch b/remove-pwscore.patch index 3fee3b5..7135edf 100644 --- a/remove-pwscore.patch +++ b/remove-pwscore.patch @@ -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"}>