fix: ignore otp.verified v1 event for usersessions (#1633)

* remove MFAOTPVerified from user session projection

* add tracing for VerifyOIDCClientSecret in commands

* fix test
This commit is contained in:
Livio Amstutz
2021-04-21 13:23:05 +02:00
committed by GitHub
parent c919fd6f13
commit 3f90d620b8
3 changed files with 7 additions and 5 deletions

View File

@@ -120,8 +120,7 @@ func (v *UserSessionView) AppendEvent(event *models.Event) error {
if v.UserAgentID != data.UserAgentID {
v.PasswordVerification = time.Time{}
}
case es_model.MFAOTPVerified,
es_model.HumanMFAOTPVerified:
case es_model.HumanMFAOTPVerified:
data := new(es_model.OTPVerified)
err := data.SetData(event)
if err != nil {