Finished Forgot Password request, Reset Password request
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
import React, { Component } from "react";
|
||||
import { Route, Switch } from "react-router-dom";
|
||||
|
||||
import ForgotPassword from "./Auth/ForgotPassword";
|
||||
import Login from "./Auth/Login";
|
||||
import Register from "./Auth/Register";
|
||||
import ResetPassword from "./Auth/ResetPassword";
|
||||
import Settings from "./Auth/Settings";
|
||||
import VerifyEmail from "./Auth/VerifyEmail";
|
||||
import PrivateRoute from "./Shared/PrivateRoute";
|
||||
@@ -34,6 +36,8 @@ class App extends Component {
|
||||
component={VerifyEmail}
|
||||
/>
|
||||
<PrivateRoute path="/auth/settings" component={Settings} />
|
||||
<Route path="/auth/forgot-password" component={ForgotPassword} />
|
||||
<Route path="/auth/reset-password/:uid/:token" component={ResetPassword} />
|
||||
<Route component={NoMatch} />
|
||||
</Switch>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user