login page

This commit is contained in:
2025-05-19 11:54:30 +03:00
parent 695c29ab62
commit b91bd87555
12 changed files with 457 additions and 14 deletions

View File

@@ -15,9 +15,7 @@ const RegisterPage = () => {
// проверяем логин
if (isAuthenticated) {
// распределяем
if (!isClient) {
router.replace('/admin')
} else {
if (isClient) {
router.replace('/account')
}
return