summaryrefslogtreecommitdiff
path: root/lib/response.js
diff options
context:
space:
mode:
authorSheogorath2017-01-12 04:25:58 +0100
committerSheogorath2017-01-12 13:54:45 +0100
commit747629e549fb5c32e1acf18e24bfc6a7e1cd5b0c (patch)
treec4861ce189556858a88a9d2843addcc84ae77eb8 /lib/response.js
parenta8068d38d589a1b8ed008f737d42ed35df4bfd2b (diff)
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')