Add request password reset route

This commit is contained in:
2023-06-09 18:55:36 +02:00
parent fea2059433
commit 3e5648afca
4 changed files with 139 additions and 7 deletions

View File

@ -7,7 +7,11 @@ import { LoginRoute } from "./routes/auth/LoginRoute";
import { OIDCCbRoute } from "./routes/auth/OIDCCbRoute";
import { useAtom } from "jotai";
import { BaseAuthenticatedPage } from "./widgets/BaseAuthenticatedPage";
import { PasswordForgottenRoute } from "./routes/auth/PasswordForgottenRoute";
/**
* Core app
*/
function App() {
const [signedIn] = useAtom(AuthApi.authStatus);
@ -19,6 +23,10 @@ function App() {
<Route path="*" element={<BaseLoginPage />}>
<Route path="" element={<LoginRoute />} />
<Route path="oidc_cb" element={<OIDCCbRoute />} />
<Route
path="password_forgotten"
element={<PasswordForgottenRoute />}
/>
<Route path="*" element={<NotFoundRoute />} />
</Route>
)}