Redirect login pages

This commit is contained in:
Felix Albrigtsen 2022-04-26 14:56:06 +02:00
parent 76b8d06641
commit 47d4c5ea30
2 changed files with 3 additions and 9 deletions

View File

@ -9,11 +9,10 @@ export default function NoSuchPage() {
You are not logged in
</Typography>
<Typography type="h4">
You dont have access to this page, you can log in here: <Link to="/login">Login</Link>
Your account is not in the administrators list. Try again with another account here: <Link to="/login">Login</Link>
or
<Link to="/"> Return to the home page</Link>
</Typography>
<Link to="/">
Return to the home page
</Link>
</>
)
}

View File

@ -1,5 +0,0 @@
export default function NoUserPage(props) {
return ("Skjerp deg")
}