Files
new-api/web/src/pages
Apple\Apple 48835616b3 feat: Redirect to console if logged in and accessing auth pages
This commit introduces a new component `AuthRedirect` which checks
if a user is already logged in.

If the user is logged in and attempts to access the /login or /register
pages, they will be redirected to the /console page. Otherwise, the
respective authentication form (Login or Register) will be rendered.

The `App.js` file has been updated to utilize this new `AuthRedirect`
component for the /login and /register routes.
2025-05-20 11:53:04 +08:00
..
2025-05-20 11:31:03 +08:00
2025-05-15 20:00:59 +08:00
2025-04-04 17:37:27 +08:00
2025-04-04 17:37:27 +08:00
2025-04-04 17:37:27 +08:00
2024-01-13 22:38:50 +08:00
2025-05-20 02:33:38 +08:00
2025-04-04 17:37:27 +08:00
2024-05-13 23:02:35 +08:00
2025-04-04 17:37:27 +08:00
2025-05-05 23:56:15 +08:00
2025-04-04 17:37:27 +08:00
2025-04-04 17:37:27 +08:00
2025-04-04 17:37:27 +08:00
2025-04-04 17:37:27 +08:00
2025-05-04 18:26:18 +08:00