Update bcrypt and fix a deprecated reference in auth
This commit is contained in:
parent
3d6aaf0e1f
commit
c693e84a46
2 changed files with 2 additions and 2 deletions
|
|
@ -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") });
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue