Skip to content

Commit c558f01

Browse files
authored
Merge pull request #211 from cachho/fix/ItaobuyRegisterPage
fix: itaobuy register page
2 parents 9aadc8e + 8fad242 commit c558f01

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/lib/validateRegisterPage.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,9 @@ export function validateRegisterPage(
9191
location.search.includes('loginStatus=register')
9292
);
9393
}
94+
if (agent === 'itaobuy') {
95+
return location.pathname.startsWith('/register');
96+
}
9497

9598
return false;
9699
}

0 commit comments

Comments
 (0)