mirror of https://github.com/calzoneman/sync.git
Update bcrypt and fix a deprecated reference in auth
This commit is contained in:
parent
3d6aaf0e1f
commit
c693e84a46
|
@ -201,7 +201,7 @@ function handleLogout(req, res) {
|
||||||
ref = "";
|
ref = "";
|
||||||
}
|
}
|
||||||
|
|
||||||
var host = req.host;
|
var host = req.hostname;
|
||||||
if (host.indexOf(Config.get("http.root-domain")) !== -1) {
|
if (host.indexOf(Config.get("http.root-domain")) !== -1) {
|
||||||
res.clearCookie("auth", { domain: Config.get("http.root-domain-dotted") });
|
res.clearCookie("auth", { domain: Config.get("http.root-domain-dotted") });
|
||||||
res.clearCookie("rank", { domain: Config.get("http.root-domain-dotted") });
|
res.clearCookie("rank", { domain: Config.get("http.root-domain-dotted") });
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
"url": "http://github.com/calzoneman/sync"
|
"url": "http://github.com/calzoneman/sync"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"bcrypt": "~0.7.7",
|
"bcrypt": "^0.8.0",
|
||||||
"body-parser": "^1.6.5",
|
"body-parser": "^1.6.5",
|
||||||
"cookie": "~0.1.0",
|
"cookie": "~0.1.0",
|
||||||
"cookie-parser": "^1.3.2",
|
"cookie-parser": "^1.3.2",
|
||||||
|
|
Loading…
Reference in New Issue