aboutsummaryrefslogtreecommitdiff
path: root/modern/src/App.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-05-08 11:37:30 -0700
committerAnton Tananaev <anton@traccar.org>2022-05-08 11:37:30 -0700
commit044733ff543156d76437daae8edb66850d785ac9 (patch)
tree7507e469449b5ffc95c7a77016e0299e07c932cc /modern/src/App.js
parent934d9fa416d30a24dc038e5a1e12ef3f7eaec160 (diff)
downloadtrackermap-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.js12
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}>