Files
new-api/web/src
Apple\Apple 28d401ec01 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-20 00:23:47 +08:00
2025-05-06 01:36:23 +08:00
2025-05-06 01:38:44 +08:00