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

selfsimilar’s picture

The error in Chrome console is:

XMLHttpRequest cannot load https://www.example.net/ajax_register/login/ajax. Origin http://www.example.net is not allowed by Access-Control-Allow-Origin.

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.