From 47d4c5ea30db8af94d08710725dc3da408b940f9 Mon Sep 17 00:00:00 2001 From: Felix Albrigtsen Date: Tue, 26 Apr 2022 14:56:06 +0200 Subject: [PATCH] Redirect login pages --- src/client/src/components/NoUserPage.js | 7 +++---- src/client/src/components/NotLoggedIn.js | 5 ----- 2 files changed, 3 insertions(+), 9 deletions(-) delete mode 100644 src/client/src/components/NotLoggedIn.js diff --git a/src/client/src/components/NoUserPage.js b/src/client/src/components/NoUserPage.js index c17acb2..1c574ec 100644 --- a/src/client/src/components/NoUserPage.js +++ b/src/client/src/components/NoUserPage.js @@ -9,11 +9,10 @@ export default function NoSuchPage() { You are not logged in - You dont have access to this page, you can log in here: Login + Your account is not in the administrators list. Try again with another account here: Login + or + Return to the home page - - Return to the home page - ) } \ No newline at end of file diff --git a/src/client/src/components/NotLoggedIn.js b/src/client/src/components/NotLoggedIn.js deleted file mode 100644 index 5da8269..0000000 --- a/src/client/src/components/NotLoggedIn.js +++ /dev/null @@ -1,5 +0,0 @@ - - -export default function NoUserPage(props) { - return ("Skjerp deg") -} \ No newline at end of file