mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-19 00:33:30 +02:00
Require trailing slash in auth URLs.
This commit is contained in:
@@ -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')
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user