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:
@@ -5,12 +5,12 @@ define(['./app'], function(app) {
|
||||
, function($routeProvider, $locationProvider) {
|
||||
$locationProvider.html5Mode(true)
|
||||
$routeProvider
|
||||
.when('/auth/ldap', {
|
||||
.when('/auth/ldap/', {
|
||||
templateUrl: '/static/auth/ldap/views/signin.html'
|
||||
, controller: 'SignInCtrl'
|
||||
})
|
||||
.otherwise({
|
||||
redirectTo: '/auth/ldap'
|
||||
redirectTo: '/auth/ldap/'
|
||||
})
|
||||
}
|
||||
])
|
||||
|
||||
Reference in New Issue
Block a user