From 798a95dece66095db8ef0de9ed81c99fe23c4a11 Mon Sep 17 00:00:00 2001 From: Nizamudeen A Date: Wed, 30 Aug 2023 10:50:30 +0530 Subject: [PATCH] mgr/dashboard: remove green tick on old password field a green tick is showing to the field where we enter the old password in login password change form. It starts showing green tick as soon as we start typing on it. Removing that because its misleads the user. Fixes: https://tracker.ceph.com/issues/62644 Signed-off-by: Nizamudeen A --- .../login-password-form/login-password-form.component.scss | 5 +++++ .../user-password-form/user-password-form.component.scss | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/src/pybind/mgr/dashboard/frontend/src/app/core/auth/login-password-form/login-password-form.component.scss b/src/pybind/mgr/dashboard/frontend/src/app/core/auth/login-password-form/login-password-form.component.scss index 15addd1e82162..9d16a710e3dd0 100755 --- a/src/pybind/mgr/dashboard/frontend/src/app/core/auth/login-password-form/login-password-form.component.scss +++ b/src/pybind/mgr/dashboard/frontend/src/app/core/auth/login-password-form/login-password-form.component.scss @@ -66,3 +66,8 @@ input:-webkit-autofill { .is-invalid.cd-form-control { border-color: transparent; } + +#oldpassword.is-valid { + background-image: unset; + border-color: transparent; +} diff --git a/src/pybind/mgr/dashboard/frontend/src/app/core/auth/user-password-form/user-password-form.component.scss b/src/pybind/mgr/dashboard/frontend/src/app/core/auth/user-password-form/user-password-form.component.scss index e69de29bb2d1d..b507fceb03f13 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/core/auth/user-password-form/user-password-form.component.scss +++ b/src/pybind/mgr/dashboard/frontend/src/app/core/auth/user-password-form/user-password-form.component.scss @@ -0,0 +1,6 @@ +@use './src/styles/vendor/variables' as vv; + +#oldpassword.is-valid { + background-image: unset; + border-color: vv.$gray-400; +} -- 2.39.5