fix(grpc): return CredentialCreationData in webauthn public key (#1075)

This commit is contained in:
Livio Amstutz
2020-12-07 15:22:11 +01:00
committed by GitHub
parent 077a9a628e
commit 12f8c7202c
2 changed files with 2 additions and 1 deletions

View File

@@ -1316,6 +1316,7 @@ func (es *UserEventstore) AddU2F(ctx context.Context, userID string) (*usr_model
return nil, err
}
webAuthN.WebAuthNTokenID = tokenID
webAuthN.State = usr_model.MFAStateNotReady
repoUser := model.UserFromModel(user)
repoWebAuthN := model.WebAuthNFromModel(webAuthN)