Closed (outdated)
Project:
Dialog
Version:
6.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Feb 2011 at 14:33 UTC
Updated:
6 Jan 2017 at 20:20 UTC
Jump to comment: Most recent
If you use the "legal module" which has the ability to let the useres "reaccept" changed terms. a login via webform dialog login will result in an error.
error while .... /user/login/ajax
can anyone confirm that?
Comments
Comment #1
drewish commentedYeah, I can confirm that breaks. It looks like legal.module uses hook_user($op='login') to fire:
There's no CTools friendly version of that page for Dialog to process so it barfs on the result. There's no way to prevent AJAX redirection so I guess one option would be to compare the initial and final URLs and if there's an error just redirect them to the final one. Doesn't seem too pretty though.
Comment #2
marcoka commentedso any hints on that, so i could try something? it makes the legal module pretty unusable with ctools.
Comment #3
devin carlson commentedDialog 6.x is no longer supported.