diff options
author | geekyd | 2017-10-25 19:19:37 +0530 |
---|---|---|
committer | geekyd | 2017-10-25 19:19:37 +0530 |
commit | d63e6780eb1062c0c86899492159c4ad44ebd1fc (patch) | |
tree | 3b23aff18cffcac1272dc9e57835e0d156e4de98 /lib/response.js | |
parent | c794412714cdd7b0f6ebfadaf108f72098004d64 (diff) |
Adds PDF export via config
Diffstat (limited to 'lib/response.js')
-rwxr-xr-x | lib/response.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/response.js b/lib/response.js index a22d1e70..f0f7ce9b 100755 --- a/lib/response.js +++ b/lib/response.js @@ -69,6 +69,7 @@ function showIndex (req, res, next) { ldap: config.isLDAPEnable, email: config.isEmailEnable, allowemailregister: config.allowemailregister, + allowpdfexport: config.allowpdfexport, signin: req.isAuthenticated(), infoMessage: req.flash('info'), errorMessage: req.flash('error') @@ -98,7 +99,8 @@ function responseHackMD (res, note) { google: config.isGoogleEnable, ldap: config.isLDAPEnable, email: config.isEmailEnable, - allowemailregister: config.allowemailregister + allowemailregister: config.allowemailregister, + allowpdfexport: config.allowpdfexport }) } |