diff options
Diffstat (limited to 'js/v2/login.js')
-rw-r--r-- | js/v2/login.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/js/v2/login.js b/js/v2/login.js index d8bf661..06f6ea0 100644 --- a/js/v2/login.js +++ b/js/v2/login.js @@ -69,6 +69,9 @@ GID ('openid_identifier').value = 'https://www.google.com/accounts/o8/id'; else if (authMech == 'auth-yahoo') GID ('openid_identifier').value = 'http://www.yahoo.com/'; + + if (window.location.protocol == 'http:') + this.action = this.action.replace (/https:/, 'http:'); return true; } return false; |