Skip to content

Commit

Permalink
Make minimal ldap configs available for html templates
Browse files Browse the repository at this point in the history
  • Loading branch information
nebulade committed Aug 11, 2016
1 parent eed8616 commit b9f4b28
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app.js
Expand Up @@ -135,6 +135,10 @@ passport.setup(app);
app.use((req, res, next) => {
res.locals.flash = req.flash.bind(req);
res.locals.user = req.user;
res.locals.ldap = {
enabled: config.ldap.enabled,
passwordresetlink: config.ldap.passwordresetlink
};

let menu = [{
title: 'Home',
Expand Down

0 comments on commit b9f4b28

Please sign in to comment.