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.
Install and enable securelogin and Ajax Login/Register.
Navigate to non-SSL homepage and click 'Log in' - submission of form will throw ajax error.
An AJAX HTTP request terminated abnormally.
Debugging information follows.
Path: https://www.example.net/ajax_register/login/ajax
StatusText:
ResponseText:
ReadyState: 4
This error does not occur if you start in secure connection e.g. https://www.example.net/
Not sure if this is a bug in Ajax Login/Register or securemodule but will cross-post bug there.
Comments
Comment #1
selfsimilar CreditAttribution: selfsimilar commentedThe error in Chrome console is:
Some StackOverflow posts indicate that this might be solved by having jQuery use JSONP. I could probably route around this by forcing a redirect of all http to https on my domain.