aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--panel/src/App.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/panel/src/App.jsx b/panel/src/App.jsx
index 6a09905..6699db4 100644
--- a/panel/src/App.jsx
+++ b/panel/src/App.jsx
@@ -16,7 +16,7 @@ const AppRoutes = () => {
return (
<Routes>
- <Route path="/" element={currentUser ? <Navigate to="/dashboard" /> : <Navigate to="/login" />} />
+ <Route path="/" element={<Navigate to="/login" />} />
<Route path="/login" element={<LoginPage />} />
<Route path="/register" element={<RegisterPage />} />
<Route path="/reset" element={<ResetPage />} />