- added page reset password;

This commit is contained in:
Vitalii Kiiko
2024-10-15 11:08:23 +02:00
parent 36c1cf742b
commit 2faa5762a0
5 changed files with 181 additions and 11 deletions

View File

@@ -24,6 +24,7 @@ import Profile from './pages/Profile';
import ProfileCompany from './pages/ProfileCompany';
import Users from './pages/Users';
import AddCompany from './pages/AddCompany';
import ResetPassword from './pages/ResetPassword';
const routes = ({ role, chosenCompanyId }) => {
@@ -91,10 +92,10 @@ const routes = ({ role, chosenCompanyId }) => {
{'ROLE_BENEFICIARY' === role ? <PageNotFound/> : null}
</DefaultLayout>}/>
</Route>
<Route exact path="/reset-password" element={<ResetPassword/>}/>
<Route exact path="/login" element={<Login/>}/>
<Route exact path="/loginAdmin" element={<LoginAdmin/>}/>
<Route exact path="/registration" element={<Registration/>}/>
{/*<Route exact path="/forgot-password" element={<ForgotPassword/>}/>*/}
<Route path="*" element={<PageNotFound/>}/>
</Routes>)
};