summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorWu Cheng-Han2016-08-15 10:56:14 +0800
committerWu Cheng-Han2016-08-15 10:56:14 +0800
commit3bcb36b46cb391ff30589caa3bbaca1fcf41483f (patch)
tree78d9043f36e975d648ceb2d581d6a3e11bf38e74 /lib
parentcf290e86e13b6230707f9ce8c6ee0b793c2323c0 (diff)
Improve index layout and UX with UI adjustments and better wording
Diffstat (limited to 'lib')
-rw-r--r--lib/response.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/response.js b/lib/response.js
index 5c5798c8..acd3c719 100644
--- a/lib/response.js
+++ b/lib/response.js
@@ -93,7 +93,8 @@ function showIndex(req, res, next) {
github: config.github,
gitlab: config.gitlab,
dropbox: config.dropbox,
- google: config.google
+ google: config.google,
+ signin: req.isAuthenticated()
});
res.write(content);
res.end();