From dd6aa0aa8f12426c681f5991f2e9a21b379e86c3 Mon Sep 17 00:00:00 2001 From: Sukanya Pandey Date: Thu, 8 Oct 2020 20:47:39 +0530 Subject: 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 Change-Id: I55fa7052073f87f28c3584b68fd4e84247a4237e --- src/router/routes.js | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/router') 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'; @@ -227,14 +226,6 @@ const routes = [ title: i18n.t('appPageTitle.virtualMedia') } }, - { - path: '/unauthorized', - name: 'unauthorized', - component: Unauthorized, - meta: { - title: i18n.t('appPageTitle.unauthorized') - } - }, { path: '*', name: 'page-not-found', -- cgit v1.2.3