summaryrefslogtreecommitdiffstats
path: root/app/login
diff options
context:
space:
mode:
Diffstat (limited to 'app/login')
-rw-r--r--app/login/controllers/login-controller.js6
-rw-r--r--app/login/index.js5
2 files changed, 0 insertions, 11 deletions
diff --git a/app/login/controllers/login-controller.js b/app/login/controllers/login-controller.js
index 8dc1d1b..c2ed383 100644
--- a/app/login/controllers/login-controller.js
+++ b/app/login/controllers/login-controller.js
@@ -23,12 +23,6 @@ window.angular && (function (angular) {
$scope.dataService = dataService;
$scope.host = $scope.dataService.host.replace(/^https?\:\/\//ig, '');
- if($routeParams.fake_login &&
- $routeParams.fake_login === 'fake_login'){
- userModel.fakeLogin();
- $window.location.hash = '#/overview/server';
- }
-
$scope.tryLogin = function(host, username, password, event){
if(event.keyCode === 13){
$scope.login(host, username, password);
diff --git a/app/login/index.js b/app/login/index.js
index b904383..1a33f66 100644
--- a/app/login/index.js
+++ b/app/login/index.js
@@ -18,11 +18,6 @@ window.angular && (function (angular) {
// Route configuration
.config(['$routeProvider', function ($routeProvider) {
$routeProvider
- .when('/login/:fake_login', {
- 'template': require('./controllers/login-controller.html'),
- 'controller': 'LoginController',
- authenticated: false
- })
.when('/login', {
'template': require('./controllers/login-controller.html'),
'controller': 'LoginController',
OpenPOWER on IntegriCloud