Active
Project:
Modal forms (with ctools)
Version:
7.x-1.2
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Jul 2015 at 10:18 UTC
Updated:
3 Nov 2018 at 00:32 UTC
Jump to comment: Most recent
Comments
Comment #1
pooja.sarvaiye commentedComment #2
Abubakar Shams commentedFacing same issue
Comment #3
pooja.sarvaiye commentedThis is not an issue with modal forms. This is an integration problem between modal forms and password policy module.
In password policy module file, in function _password_policy_go_to_password_change_page, drupal_goto is used to redirect user to password change screen.
Removing drupal_goto call, fixes the issue. But this is will remove user redirection to profile edit page. This will require a patch to be created for password policy module.
Comment #4
amolnw2778 commented@pooja Instead removing, digging into
drupal_gotowill keep the redirection I guess.Comment #5
pooja.sarvaiye commentedCreated issue in password policy issue queue:
https://www.drupal.org/node/2583109
Comment #6
rteijeiro commentedComment #7
firewaller commentedTo follow up on this, I was experiencing this issue for both Password Policy's redirect and Profile Fields Force Filling's redirect.
The following solution in the related issue works for me: https://www.drupal.org/project/password_policy/issues/2583109#comment-10...
Currently, I have the hook_drupal_goto_alter() in a custom module, but I believe this would module would benefit by using it.