fix: reset external login verification on logout (#840)

This commit is contained in:
Fabi 2020-10-15 09:37:12 +02:00 committed by GitHub
parent 905ee1c68a
commit 318e2c5e44
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -114,6 +114,7 @@ func (v *UserSessionView) AppendEvent(event *models.Event) {
es_model.UserDeactivated:
v.PasswordVerification = time.Time{}
v.MfaSoftwareVerification = time.Time{}
v.ExternalLoginVerification = time.Time{}
v.State = int32(req_model.UserSessionStateTerminated)
}
}