mirror of
https://github.com/openstf/stf
synced 2025-10-04 10:19:30 +02:00
Add UI to LDAP login.
This commit is contained in:
parent
01339b089e
commit
9119dcca63
15 changed files with 291 additions and 14 deletions
17
res/auth-ldap/scripts/routes.js
Normal file
17
res/auth-ldap/scripts/routes.js
Normal file
|
@ -0,0 +1,17 @@
|
|||
define(['./app'], function(app) {
|
||||
return app.config([
|
||||
'$routeProvider'
|
||||
, '$locationProvider'
|
||||
, function($routeProvider, $locationProvider) {
|
||||
$locationProvider.html5Mode(true)
|
||||
$routeProvider
|
||||
.when('/', {
|
||||
templateUrl: 'partials/signin'
|
||||
, controller: 'SignInCtrl'
|
||||
})
|
||||
.otherwise({
|
||||
redirectTo: '/'
|
||||
})
|
||||
}
|
||||
])
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue