Update bcrypt and fix a deprecated reference in auth

This commit is contained in:
calzoneman 2014-08-19 00:25:36 -05:00
parent 3d6aaf0e1f
commit c693e84a46
2 changed files with 2 additions and 2 deletions

View file

@ -201,7 +201,7 @@ function handleLogout(req, res) {
ref = "";
}
var host = req.host;
var host = req.hostname;
if (host.indexOf(Config.get("http.root-domain")) !== -1) {
res.clearCookie("auth", { domain: Config.get("http.root-domain-dotted") });
res.clearCookie("rank", { domain: Config.get("http.root-domain-dotted") });

View file

@ -7,7 +7,7 @@
"url": "http://github.com/calzoneman/sync"
},
"dependencies": {
"bcrypt": "~0.7.7",
"bcrypt": "^0.8.0",
"body-parser": "^1.6.5",
"cookie": "~0.1.0",
"cookie-parser": "^1.3.2",