diff --git a/lib/features.js b/lib/features.js index 0836ce8d..e00f91c1 100644 --- a/lib/features.js +++ b/lib/features.js @@ -82,7 +82,7 @@ var flags = { // use SSL for sign in sslLogin: function (req) { - return ['127.0.0.1', '81.174.141.101'].indexOf(req.ip); + return ['127.0.0.1', '81.174.141.101'].indexOf(req.ip) !== -1; }, }; diff --git a/views/index.html b/views/index.html index 793c0328..30517307 100644 --- a/views/index.html +++ b/views/index.html @@ -247,28 +247,20 @@ {{/if}} - +