mirror of
https://github.com/zitadel/zitadel.git
synced 2025-01-07 22:58:02 +00:00
fix: webauthn event types (#1535)
This commit is contained in:
parent
4904f61d4b
commit
2e02f2a695
@ -375,7 +375,7 @@ func (c *Commands) HumanFinishPasswordlessLogin(ctx context.Context, userID, res
|
|||||||
}
|
}
|
||||||
|
|
||||||
_, err = c.eventstore.PushEvents(ctx,
|
_, err = c.eventstore.PushEvents(ctx,
|
||||||
usr_repo.NewHumanU2FCheckSucceededEvent(
|
usr_repo.NewHumanPasswordlessCheckSucceededEvent(
|
||||||
ctx,
|
ctx,
|
||||||
userAgg,
|
userAgg,
|
||||||
authRequestDomainToAuthRequestInfo(authRequest),
|
authRequestDomainToAuthRequestInfo(authRequest),
|
||||||
|
@ -177,7 +177,7 @@ func NewHumanPasswordlessBeginLoginEvent(
|
|||||||
eventstore.NewBaseEventForPush(
|
eventstore.NewBaseEventForPush(
|
||||||
ctx,
|
ctx,
|
||||||
aggregate,
|
aggregate,
|
||||||
HumanPasswordlessTokenVerifiedType,
|
HumanPasswordlessTokenBeginLoginType,
|
||||||
),
|
),
|
||||||
challenge,
|
challenge,
|
||||||
info,
|
info,
|
||||||
|
@ -177,7 +177,7 @@ func NewHumanU2FBeginLoginEvent(
|
|||||||
eventstore.NewBaseEventForPush(
|
eventstore.NewBaseEventForPush(
|
||||||
ctx,
|
ctx,
|
||||||
aggregate,
|
aggregate,
|
||||||
HumanU2FTokenVerifiedType,
|
HumanU2FTokenBeginLoginType,
|
||||||
),
|
),
|
||||||
challenge,
|
challenge,
|
||||||
info,
|
info,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user