- added page reset password;
This commit is contained in:
@@ -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>)
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user