Add request password reset route
This commit is contained in:
@ -2,12 +2,12 @@ import { Alert, CircularProgress } from "@mui/material";
|
||||
import Box from "@mui/material/Box";
|
||||
import Button from "@mui/material/Button";
|
||||
import Grid from "@mui/material/Grid";
|
||||
import Link from "@mui/material/Link";
|
||||
import TextField from "@mui/material/TextField";
|
||||
import Typography from "@mui/material/Typography";
|
||||
import * as React from "react";
|
||||
import { AuthApi } from "../../api/AuthApi";
|
||||
import { ServerApi } from "../../api/ServerApi";
|
||||
import { Link } from "react-router-dom";
|
||||
|
||||
/**
|
||||
* Login form
|
||||
@ -89,14 +89,25 @@ export function LoginRoute(): React.ReactElement {
|
||||
|
||||
<Grid container>
|
||||
<Grid item xs>
|
||||
<Link href="#" variant="body2">
|
||||
Mot de passe oublié
|
||||
</Link>
|
||||
<Typography variant="body2" color={"primary"}>
|
||||
<Link
|
||||
to="/password_forgotten"
|
||||
style={{ color: "inherit", textDecorationColor: "inherit" }}
|
||||
>
|
||||
Mot de passe oublié
|
||||
</Link>
|
||||
</Typography>
|
||||
</Grid>
|
||||
<Grid item>
|
||||
<Link href="#" variant="body2">
|
||||
Créer un nouveau compte
|
||||
</Link>
|
||||
<Typography variant="body2" color={"primary"}>
|
||||
{" "}
|
||||
<Link
|
||||
to="#"
|
||||
style={{ color: "inherit", textDecorationColor: "inherit" }}
|
||||
>
|
||||
Créer un nouveau compte
|
||||
</Link>
|
||||
</Typography>
|
||||
</Grid>
|
||||
</Grid>
|
||||
|
||||
|
Reference in New Issue
Block a user