move logout functionality to logout page

This commit is contained in:
cleverbeagle 2017-09-07 10:11:58 -05:00
parent f308d32739
commit 518fb7d9de
5 changed files with 29 additions and 21 deletions

View file

@ -56,7 +56,7 @@ const App = props => (
<Authenticated exact path="/profile" component={Profile} {...props} />
<Public path="/signup" component={Signup} {...props} />
<Public path="/login" component={Login} {...props} />
<Public path="/logout" component={Logout} {...props} />
<Route path="/logout" component={Logout} {...props} />
<Route name="verify-email" path="/verify-email/:token" component={VerifyEmail} />
<Route name="recover-password" path="/recover-password" component={RecoverPassword} />
<Route name="reset-password" path="/reset-password/:token" component={ResetPassword} />