diff options
author | mattab <matthieu.aubry@gmail.com> | 2014-02-11 07:05:51 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2014-02-11 07:05:51 +0400 |
commit | d1684719f1d494e9b1a2d686b5da0e4164f11340 (patch) | |
tree | 4507d423f13d2894e126ec285f5787f0fc4fd568 /plugins/Login/templates | |
parent | 5a74d8d7fb1b7e2014cb73d746d970e4627c0f60 (diff) |
Fixes #4001 Deprecate force_ssl_login setting as it's too hard to properly enforce
Diffstat (limited to 'plugins/Login/templates')
-rw-r--r-- | plugins/Login/templates/login.twig | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/plugins/Login/templates/login.twig b/plugins/Login/templates/login.twig index 64e35ddb83..860990af32 100644 --- a/plugins/Login/templates/login.twig +++ b/plugins/Login/templates/login.twig @@ -25,16 +25,6 @@ <script type="text/javascript" src="plugins/CoreHome/javascripts/require.js"></script> <script type="text/javascript" src="plugins/CoreHome/javascripts/notification.js"></script> <script type="text/javascript" src="plugins/CoreHome/javascripts/notification_parser.js"></script> - {% if (forceSslLogin is defined and forceSslLogin) %} - <script type="text/javascript"> - if (window.location.protocol !== 'https:') { - var url = window.location.toString(); - url = url.replace(/^http:/, 'https:'); - window.location.replace(url); - } - </script> - - {% endif %} <script type="text/javascript"> $(function () { $('#form_login').focus(); |