diff --git a/internal/command/user_human_webauthn.go b/internal/command/user_human_webauthn.go index 68dc50e74e..3f18761638 100644 --- a/internal/command/user_human_webauthn.go +++ b/internal/command/user_human_webauthn.go @@ -375,7 +375,7 @@ func (c *Commands) HumanFinishPasswordlessLogin(ctx context.Context, userID, res } _, err = c.eventstore.PushEvents(ctx, - usr_repo.NewHumanU2FCheckSucceededEvent( + usr_repo.NewHumanPasswordlessCheckSucceededEvent( ctx, userAgg, authRequestDomainToAuthRequestInfo(authRequest), diff --git a/internal/repository/user/human_mfa_passwordless.go b/internal/repository/user/human_mfa_passwordless.go index acb27c540b..005e427e6b 100644 --- a/internal/repository/user/human_mfa_passwordless.go +++ b/internal/repository/user/human_mfa_passwordless.go @@ -177,7 +177,7 @@ func NewHumanPasswordlessBeginLoginEvent( eventstore.NewBaseEventForPush( ctx, aggregate, - HumanPasswordlessTokenVerifiedType, + HumanPasswordlessTokenBeginLoginType, ), challenge, info, diff --git a/internal/repository/user/human_mfa_u2f.go b/internal/repository/user/human_mfa_u2f.go index 975f326bc6..35f42ff17a 100644 --- a/internal/repository/user/human_mfa_u2f.go +++ b/internal/repository/user/human_mfa_u2f.go @@ -177,7 +177,7 @@ func NewHumanU2FBeginLoginEvent( eventstore.NewBaseEventForPush( ctx, aggregate, - HumanU2FTokenVerifiedType, + HumanU2FTokenBeginLoginType, ), challenge, info,