74612: Remove 401 pages and add login redirect to feature-authorization guards

This commit is contained in:
Kristof De Langhe
2020-12-03 14:38:27 +01:00
parent 4145f829a7
commit 411e2bd746
19 changed files with 73 additions and 97 deletions

View File

@@ -55,12 +55,6 @@ export function getDSORoute(dso: DSpaceObject): string {
}
}
export const UNAUTHORIZED_PATH = '401';
export function getUnauthorizedRoute() {
return `/${UNAUTHORIZED_PATH}`;
}
export const FORBIDDEN_PATH = '403';
export function getForbiddenRoute() {