Closed (fixed)
Project:
View Password
Version:
6.0.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Nov 2022 at 13:57 UTC
Updated:
13 Feb 2023 at 20:39 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
bronismateusz commentedI wrote a patch that solves this problem. I tested it and it seems to do the job, even when there are several password type fields in a given form.
Comment #3
bronismateusz commentedComment #4
bronismateusz commentedI fixed this patch because the previous one was based on version 6.0.x, and this one is for 6.0.0
Comment #6
gaurav-mathur commentedIt works fine without applying any patch with view password version 6.0.0
Refer to the screenshots
Comment #7
anacolautti commentedHi! I also cannot reproduce the issue. I'm marking this as "maintainer needs more info" for now.
Thank you for your work.
Comment #8
gabbysalts commentedFor me it happens more than 3 times, and only when I go to any other URL and then use the browser's back button to navigate back to the page with the view password icon. I'm using windows 10 and it happens with chrome and edge, but not firefox (all are on the latest versions).
Comment #9
anacolautti commentedThank you @gabbysalts. Does this patch fix the issue for you?
Comment #10
gabbysalts commented@anacolautti I am using a off the shelf product for a large organisation, so I've got some processes I need to follow before I can apply the patch unfortunately. I'll update you if I get any progress in the coming weeks.
Comment #11
stefdewa commentedHaving the same problem and the patch in #4 fixed it for me.
For me, the problem only happens in the backend. I'm using Drupal 9.5.2 with backend theme gin 3.0.0-rc1 .
Comment #12
anacolautti commentedOk, this is great, thank you all.
I reviewed the patch and had to do some modifications to be able to keep the functionality in these other issues that we also merged to dev:
- Issue #3228830 by thalles: Selector previous input password error
- Issue #3324373 by kkalashnikov, dineshkumarbollu, rishu_kumar, _pratik_: Drupal 10 compatibility
I tested this successfully in drupal/core:9.5.1 and drupal/core:10.0.x-dev.
I cannot reproduce the original bug, so if anyone else can confirm that this patch does the trick, let me know.
I can still add this patch to the dev branch, and merge it into the release 6.0.1 on Jan 30th.
Comment #13
anacolautti commentedComment #14
philyUsing r4032login contrib module, I have double-eyed icon when trying to access restricted page with anonymous user (error 403 with login form).
Using patch #12 over view_password 6.0.x-dev and Drupal 9.5.2 makes the login form single-eyed.
Thanks.
May need additional review before moving to RTBC.
Comment #15
anacolautti commentedThank you PhilY. I'll merge this and deploy today.
Comment #18
anacolautti commentedThank you everyone that helped fix this.