Fix admin IAM redirect and separate pending wholesale lists.

Keep admin browser bootstrap from falling back to the customer app URL, and exclude activated customers from the pending-verification list so it no longer mirrors the main omde grid.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
s.esmaeili
2026-10-25 22:44:48 +03:30
co-authored by Cursor
parent 55d27151c9
commit 6592e88a2c
7 changed files with 85 additions and 17 deletions
@@ -759,7 +759,7 @@ export class CustomerAuthService {
body: T,
identity: IamIdentity | null,
): T & { iamBootstrapUrl?: string } {
const url = this.iam.browserBootstrapUrl(identity?.browserTicket);
const url = this.iam.browserBootstrapUrl(identity?.browserTicket, 'customer');
return url ? { ...body, iamBootstrapUrl: url } : body;
}