Fix login/logout redirects
This commit is contained in:
parent
a0b7bff70c
commit
a049a7e2dc
2 changed files with 7 additions and 6 deletions
|
|
@ -15,7 +15,8 @@ function merge(locals, res) {
|
|||
siteAuthor: "Calvin 'calzoneman' 'cyzon' Montgomery",
|
||||
loginDomain: Config.get("https.enabled") ? Config.get("https.full-address")
|
||||
: Config.get("http.full-address"),
|
||||
csrfToken: res.req.csrfToken()
|
||||
csrfToken: res.req.csrfToken(),
|
||||
baseUrl: res.req.protocol + "://" + res.req.header("host")
|
||||
};
|
||||
if (typeof locals !== "object") {
|
||||
return _locals;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue