Skip to content

Commit a802b6c

Browse files
committed
Redirect users with /auth routes are invalid
1 parent 5550ea0 commit a802b6c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

frontend/src/App.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ function App() {
7272
path="verifyEmail/:userId?"
7373
element={<EmailVerification />}
7474
/>
75+
<Route path="*" element={<Navigate to="/auth/login" />} />
7576
</Route>
7677
</Routes>
7778
</MatchProvider>

0 commit comments

Comments
 (0)