diff --git a/lemur/static/app/angular/app.js b/lemur/static/app/angular/app.js index 2f0cc90a..fd620ffe 100644 --- a/lemur/static/app/angular/app.js +++ b/lemur/static/app/angular/app.js @@ -25,7 +25,7 @@ var lemur = angular }); $authProvider.oauth2({ - name: 'ping', + name: 'example', url: 'http://localhost:5000/api/1/auth/ping', redirectUri: 'http://localhost:3000/', clientId: 'client-id', diff --git a/lemur/static/app/angular/authentication/login/login.tpl.html b/lemur/static/app/angular/authentication/login/login.tpl.html index 894a5e3a..fe69d4be 100644 --- a/lemur/static/app/angular/authentication/login/login.tpl.html +++ b/lemur/static/app/angular/authentication/login/login.tpl.html @@ -3,8 +3,8 @@
-
diff --git a/lemur/static/app/angular/authentication/unlock/unlock.js b/lemur/static/app/angular/authentication/unlock/unlock.js deleted file mode 100644 index 44304997..00000000 --- a/lemur/static/app/angular/authentication/unlock/unlock.js +++ /dev/null @@ -1,18 +0,0 @@ -'use strict'; - -angular.module('lemur') - .config(function config($routeProvider) { - $routeProvider.when('/unlock', { - templateUrl: '/angular/authentication/unlock/unlock.tpl.html', - controller: 'UnlockCtrl' - }); - }) - .controller('UnlockCtrl', function ($scope, $location, lemurRestangular, messageService) { - $scope.unlock = function () { - lemurRestangular.one('unlock').customPOST({'password': $scope.password}) - .then(function (data) { - messageService.addMessage(data); - $location.path('/dashboard'); - }); - }; - }); diff --git a/lemur/static/app/angular/authentication/unlock/unlock.tpl.html b/lemur/static/app/angular/authentication/unlock/unlock.tpl.html deleted file mode 100644 index 40ff5483..00000000 --- a/lemur/static/app/angular/authentication/unlock/unlock.tpl.html +++ /dev/null @@ -1,16 +0,0 @@ -

Unlock Assume 9 is twice 5; how will you write 6 times 5 in the same system of notation?

-
-
-
-
- -
-
-
-
-
- -
-
-
-