summaryrefslogtreecommitdiff
path: root/lib/response.js
diff options
context:
space:
mode:
authorMax Wu2017-01-12 23:37:28 +0800
committerGitHub2017-01-12 23:37:28 +0800
commit48510984775a8b9caac295448840e56f65f164dd (patch)
treecd6df969c198d4e99293bb18ebf77ab8528633a8 /lib/response.js
parent8b378d7847b82f34ceedfdfbf27d5fe324ab1944 (diff)
parent747629e549fb5c32e1acf18e24bfc6a7e1cd5b0c (diff)
Merge pull request #317 from SISheogorath/master+allowEmailRegister
Add `allowemailregister` option
Diffstat (limited to 'lib/response.js')
-rwxr-xr-xlib/response.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/response.js b/lib/response.js
index 6c1db967..9014a0a0 100755
--- a/lib/response.js
+++ b/lib/response.js
@@ -68,6 +68,7 @@ function showIndex(req, res, next) {
google: config.google,
ldap: config.ldap,
email: config.email,
+ allowemailregister: config.allowemailregister,
signin: req.isAuthenticated(),
infoMessage: req.flash('info'),
errorMessage: req.flash('error')