diff options
author | Sukanya Pandey <sukapan1@in.ibm.com> | 2020-10-08 18:17:39 +0300 |
---|---|---|
committer | Derick Montague <derick.montague@ibm.com> | 2020-10-21 00:34:04 +0300 |
commit | dd6aa0aa8f12426c681f5991f2e9a21b379e86c3 (patch) | |
tree | 3297232b18559392eb193068022ce6d99412e227 /src/router | |
parent | a11cedb53a540b7455a8169b74b62009b5982b7d (diff) | |
download | webui-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.js | 9 |
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, |