summaryrefslogtreecommitdiffstats
path: root/utils/test/testapi/opnfv_testapi/ui/auth-failure
diff options
context:
space:
mode:
authorTrevor Bramwell <tbramwell@linuxfoundation.org>2017-11-21 00:46:35 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-11-21 00:46:35 +0000
commit174b299271189496bae4c4d6727ea26a7a098756 (patch)
treeb063e18c795988e38e1eb4afa74d4cbf9524f057 /utils/test/testapi/opnfv_testapi/ui/auth-failure
parentfd65ec9e84ae025e6b903c403514405ba0bb0a61 (diff)
parentf11f26d23dabde24b0bcd67ac81b094aa89eb6c9 (diff)
Merge "Remove 'utils/test' Directory and update INFO"
Diffstat (limited to 'utils/test/testapi/opnfv_testapi/ui/auth-failure')
-rw-r--r--utils/test/testapi/opnfv_testapi/ui/auth-failure/authFailureController.js33
1 files changed, 0 insertions, 33 deletions
diff --git a/utils/test/testapi/opnfv_testapi/ui/auth-failure/authFailureController.js b/utils/test/testapi/opnfv_testapi/ui/auth-failure/authFailureController.js
deleted file mode 100644
index 29d1d70fa..000000000
--- a/utils/test/testapi/opnfv_testapi/ui/auth-failure/authFailureController.js
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-(function () {
- 'use strict';
-
- angular
- .module('testapiApp')
- .controller('AuthFailureController', AuthFailureController);
-
- AuthFailureController.$inject = ['$location', '$state', 'raiseAlert'];
- /**
- * TestAPI Auth Failure Controller
- * This controller handles messages from TestAPI API if user auth fails.
- */
- function AuthFailureController($location, $state, raiseAlert) {
- var ctrl = this;
- ctrl.message = $location.search().message;
- raiseAlert('danger', 'Authentication Failure:', ctrl.message);
- $state.go('home');
- }
-})();