Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The regex in modal_forms_login.js matches any URL that includes user/login.
If modal login is enabled, this means that any login URLs on other domains will also be rewritten to the modal version, which results in an AJAX error if modal login isn't enabled on that site.
Probably causes other issues if the other site isn't a Drupal site, as well...
Comment | File | Size | Author |
---|---|---|---|
#1 | modal_forms_login_js_2435395.patch.txt | 1.06 KB | damianrobinson |
Comments
Comment #1
damianrobinson CreditAttribution: damianrobinson commentedSee attached patch which checks the user/login path is on the same domain as the host site.
Comment #2
malcomio CreditAttribution: malcomio commentedThe patch at #1 is rolled into the patch at #2448821-1: Modal form not working when the Login link appears multiple times