Tagged: password strength
March 19, 2021 at 1:44 pm #9791
When you set up a registration form and select both “Repeat Password” and “Show Password Strength”, the password strength is shown two times.March 21, 2021 at 4:56 pm #9792sourov aminModerator
Which version of UMP and WordPress you are using?
Can you please share the form link or a screenshot, where strength is shown twice?
Thanks!March 22, 2021 at 11:02 pm #9794
here is a link to a screenshot: https://imgur.com/a/tLOVfZh
Wordpress is current up to today. User Meta is current up to today (std. release).
Your code, I can see it: In the passwort handling php, due to two password entry fields, the constructor is invoked twice (that’s fine) but the second invocation produces a second strength indicator. The second invocation of the constructor should recognize a previous instance of the password field already has got a constructor.
April 10, 2021 at 11:26 pm #9801
- This reply was modified 7 months ago by Michael Stiemke.
bump?April 12, 2021 at 11:48 pm #9803sourov aminModerator
I’ve tried several combinations for the password field and none displayed the strength twice.
Also, we haven’t heard about this bug from anyone else. So there is a possibility the problem lies elsewhere, not in the plugin. There might be some other script or plugin that triggers the similar password strength js with the same identifier name probably. Also, you can give it a try with a different theme and check if the problem is still there. If you want you can create a temp admin and share the credentials at support(at)user-meta.com so the issue can be checked from inside.
Thanks!April 17, 2021 at 10:54 pm #9812
> Also, you can give it a try with a different theme and check if the problem is still there.
> If you want you can create a temp admin and share the credentials at support(at)user-meta.com so the issue can be checked from inside
> So there is a possibility the problem lies elsewhere, not in the plugin.
I will investigate.
> Also, we haven’t heard about this bug from anyone else.
I know there is strength in numbers, but this statement is one of those that no single customer ever wants to hear. I understand your position but then I will wait until more people report this.
> that triggers the similar password strength js with the same identifier name probably
This is a constructive hint and I will investigate.
Thanks for your reply and I now know how to proceed.April 19, 2021 at 4:56 pm #9818
So, you were right. It is being triggered twice, and another plugin is at fault. Is “Easy Table of Contents”, which was putting some css and other stuff ON EVERY PAGE even if no TOC was being generated. I was only using the sidebar widget it provides. I was able to disable that behaviour by installing a dynamic widget plugin, which makes it easy to only enable the widget on certain pages.
Problem solved and thanks for the hint.
This means that the display of “Password Strength” is once again enabled. Is is strange that the page for Password Reset did no exhibit this behaviour.
- You must be logged in to reply to this topic.