Require trailing slash in auth URLs.

This commit is contained in:
Simo Kinnunen
2014-07-16 11:38:14 +09:00
parent b19e1784ab
commit 2d726a4f75
4 changed files with 8 additions and 8 deletions

View File

@@ -64,10 +64,10 @@ module.exports = function(options) {
})
app.get('/', function(req, res) {
res.redirect('/auth/ldap')
res.redirect('/auth/ldap/')
})
app.get('/auth/ldap', function(req, res) {
app.get('/auth/ldap/', function(req, res) {
res.render('index')
})