Finish validation touchup
This commit is contained in:
parent
d42de93d74
commit
699aa2abe1
4 changed files with 37 additions and 37 deletions
|
|
@ -202,7 +202,6 @@ function handleAccountChannelPage(req, res) {
|
|||
|
||||
db.channels.listUserChannels(req.user.name, function (err, channels) {
|
||||
sendPug(res, "account-channels", {
|
||||
domain: req.host,
|
||||
channels: channels
|
||||
});
|
||||
});
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@ function merge(locals, res) {
|
|||
siteTitle: Config.get("html-template.title"),
|
||||
siteDescription: Config.get("html-template.description"),
|
||||
siteAuthor: "Calvin 'calzoneman' 'cyzon' Montgomery",
|
||||
domain: res.req.host,
|
||||
loginDomain: Config.get("https.enabled") ? Config.get("https.full-address")
|
||||
: Config.get("http.full-address"),
|
||||
csrfToken: typeof res.req.csrfToken === 'function' ? res.req.csrfToken() : '',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue