diff options
author | Anton Tananaev <anton@traccar.org> | 2022-05-08 11:37:30 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-05-08 11:37:30 -0700 |
commit | 044733ff543156d76437daae8edb66850d785ac9 (patch) | |
tree | 7507e469449b5ffc95c7a77016e0299e07c932cc /modern/src/App.js | |
parent | 934d9fa416d30a24dc038e5a1e12ef3f7eaec160 (diff) | |
download | trackermap-web-044733ff543156d76437daae8edb66850d785ac9.tar.gz trackermap-web-044733ff543156d76437daae8edb66850d785ac9.tar.bz2 trackermap-web-044733ff543156d76437daae8edb66850d785ac9.zip |
Reorganize login pages
Diffstat (limited to 'modern/src/App.js')
-rw-r--r-- | modern/src/App.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/modern/src/App.js b/modern/src/App.js index e44fd412..ab13f992 100644 --- a/modern/src/App.js +++ b/modern/src/App.js @@ -35,9 +35,9 @@ import CommandPage from './settings/CommandPage'; import StatisticsPage from './admin/StatisticsPage'; import CachingController from './CachingController'; -import LoginForm from './components/registration/LoginForm'; -import RegisterForm from './components/registration/RegisterForm'; -import ResetPasswordForm from './components/registration/ResetPasswordForm'; +import LoginPage from './login/LoginPage'; +import RegisterPage from './login/RegisterPage'; +import ResetPasswordPage from './login/ResetPasswordPage'; import theme from './theme'; import GeofencesPage from './GeofencesPage'; @@ -109,9 +109,9 @@ const App = () => { <SocketController /> <CachingController /> <Switch> - <Route exact path="/login" component={LoginForm} /> - <Route exact path="/register" component={RegisterForm} /> - <Route exact path="/reset-password" component={ResetPasswordForm} /> + <Route exact path="/login" component={LoginPage} /> + <Route exact path="/register" component={RegisterPage} /> + <Route exact path="/reset-password" component={ResetPasswordPage} /> <Route> {!initialized ? (<LinearProgress />) : ( <div className={classes.root}> |