summaryrefslogtreecommitdiff
path: root/src/router
diff options
context:
space:
mode:
authorSukanya Pandey <sukapan1@in.ibm.com>2020-10-08 18:17:39 +0300
committerDerick Montague <derick.montague@ibm.com>2020-10-21 00:34:04 +0300
commitdd6aa0aa8f12426c681f5991f2e9a21b379e86c3 (patch)
tree3297232b18559392eb193068022ce6d99412e227 /src/router
parenta11cedb53a540b7455a8169b74b62009b5982b7d (diff)
downloadwebui-vue-dd6aa0aa8f12426c681f5991f2e9a21b379e86c3.tar.xz
Show error toast notification on unauthorized access
-When 403 status code which is an unauthorized access occured -show error toast notification. Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: I55fa7052073f87f28c3584b68fd4e84247a4237e
Diffstat (limited to 'src/router')
-rw-r--r--src/router/routes.js9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/router/routes.js b/src/router/routes.js
index 1a86510c..968a5ea7 100644
--- a/src/router/routes.js
+++ b/src/router/routes.js
@@ -23,7 +23,6 @@ import SerialOverLanConsole from '@/views/Control/SerialOverLan/SerialOverLanCon
import ServerLed from '@/views/Control/ServerLed';
import ServerPowerOperations from '@/views/Control/ServerPowerOperations';
import SslCertificates from '@/views/AccessControl/SslCertificates';
-import Unauthorized from '@/views/Unauthorized';
import VirtualMedia from '@/views/Control/VirtualMedia';
import i18n from '@/i18n';
@@ -228,14 +227,6 @@ const routes = [
}
},
{
- path: '/unauthorized',
- name: 'unauthorized',
- component: Unauthorized,
- meta: {
- title: i18n.t('appPageTitle.unauthorized')
- }
- },
- {
path: '*',
name: 'page-not-found',
component: PageNotFound,