- Issue created by @kiwimind
When submitting the user edit form with a failure, the password strength bar no longer displays. This seems to only happen on dev environments, so it might be that the cause is to do with those domains not being on the accepted list via cookiebot. At this point in time I am unable to double check that.
So far I have only been able to replicate this using Chrome.
I tested this on simplytest.me with only cookiebot added as an additional module. I entered our CBID, which I realise will not match their domain.
1. Create a new user without any administrative role(s)
2. Log in as this user and go to the user edit page
3. Amend only the new password field with something random
4. Submit the form
It seems that the form goes through validation and when it fails, the password strength bar no longer appears.
Having tested the same on a production site where the CBID is correct and the domain is in cookiebot's allowed list, it seems to work as expected.
Uninstalling cookiebot also allows things to work as expected.
At this point I guess it's likely that with cookiebot enabled and a CBID being used that does not have an entry for the current site in the cookiebot allow list (on their end), that this failure occurs.
Active
Code