Closed (fixed)
Project:
Password Policy
Version:
8.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Apr 2017 at 14:17 UTC
Updated:
26 Oct 2017 at 04:55 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
mqannehComment #3
mqannehChec attached patch.
Comment #4
ahmad abbad commentedThis patch #3 worked for me.
Comment #5
nerdsteinThis looks good, thank you. Merging.
Comment #7
mqannehComment #8
nikunjkotechaWe are using this at different places, for instance with https://www.drupal.org/project/change_pwd_page.
Recent change here broke as ChangePasswordForm in the contrib module doesn't implement EntityForm.
I suggest we use more generic way of getting current user, that is from route params. Added patch for the same.
Comment #9
nikunjkotechaFixed issue related to registration page where we don't have user in route params.