mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-11 09:12:16 +00:00
fix invite check
This commit is contained in:
@@ -35,7 +35,7 @@ export function checkInvite(
|
||||
organization?: string,
|
||||
authRequestId?: string,
|
||||
) {
|
||||
if (humanUser?.email && humanUser.email.isVerified) {
|
||||
if (!humanUser?.email?.isVerified) {
|
||||
const paramsVerify = new URLSearchParams({
|
||||
loginName: session.factors?.user?.loginName as string,
|
||||
userId: session.factors?.user?.id as string, // verify needs user id
|
||||
|
||||
Reference in New Issue
Block a user