GUAC-1161: Convert login page to directive which accepts a dynamic form. Display login directive when credentials are needed.
This commit is contained in:
1 parent
872aa38498
commit
f29a24ad68
12 files changed
+214
-221
No files matched your search
@@ -161,15 +161,6 @@ angular.module('index').config(['$routeProvider', '$locationProvider',
|
||||
resolve : { updateCurrentToken: updateCurrentToken }
|
||||
})
|
||||
|
||||
// Login screen
|
||||
.when('/login/', {
|
||||
title : 'APP.NAME',
|
||||
bodyClassName : 'login',
|
||||
templateUrl : 'app/login/templates/login.html',
|
||||
controller : 'loginController'
|
||||
// No need to update token here - the login screen ignores all auth
|
||||
})
|
||||
|
||||
// Client view
|
||||
.when('/client/:type/:id/:params?', {
|
||||
bodyClassName : 'client',
|
||||
|
||||
Reference in new issue
Block a user