Check reset token validity

This commit is contained in:
2023-06-12 16:25:38 +02:00
parent 3e5648afca
commit 1bd18133b3
4 changed files with 89 additions and 7 deletions

View File

@ -4,11 +4,10 @@ import Avatar from "@mui/material/Avatar";
import Box from "@mui/material/Box";
import CssBaseline from "@mui/material/CssBaseline";
import Grid from "@mui/material/Grid";
import Link from "@mui/material/Link";
import Paper from "@mui/material/Paper";
import Typography from "@mui/material/Typography";
import * as React from "react";
import { Outlet } from "react-router-dom";
import { Link, Outlet } from "react-router-dom";
function Copyright(props: any) {
return (
@ -20,9 +19,15 @@ function Copyright(props: any) {
{...props}
>
{"Copyright © "}
<Link color="inherit" href="https://0ph.fr/" target="_blank">
<a
color="inherit"
href="https://0ph.fr/"
target="_blank"
rel="noreferrer"
style={{ color: "inherit" }}
>
Pierre HUBERT
</Link>{" "}
</a>{" "}
{new Date().getFullYear()}
{"."}
</Typography>
@ -71,9 +76,11 @@ export function BaseLoginPage() {
<Avatar sx={{ m: 1, bgcolor: "secondary.main" }}>
<Icon path={mdiFamilyTree} size={1} />
</Avatar>
<Typography component="h1" variant="h5">
GeneIT
</Typography>
<Link to="/" style={{ color: "inherit", textDecoration: "none" }}>
<Typography component="h1" variant="h5">
GeneIT
</Typography>
</Link>
<Typography
component="h1"
variant="h6"