fix: webauthn event types (#1535)

This commit is contained in:
Livio Amstutz 2021-04-07 08:12:55 +02:00 committed by GitHub
parent 4904f61d4b
commit 2e02f2a695
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -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),

View File

@ -177,7 +177,7 @@ func NewHumanPasswordlessBeginLoginEvent(
eventstore.NewBaseEventForPush( eventstore.NewBaseEventForPush(
ctx, ctx,
aggregate, aggregate,
HumanPasswordlessTokenVerifiedType, HumanPasswordlessTokenBeginLoginType,
), ),
challenge, challenge,
info, info,

View File

@ -177,7 +177,7 @@ func NewHumanU2FBeginLoginEvent(
eventstore.NewBaseEventForPush( eventstore.NewBaseEventForPush(
ctx, ctx,
aggregate, aggregate,
HumanU2FTokenVerifiedType, HumanU2FTokenBeginLoginType,
), ),
challenge, challenge,
info, info,