mirror of
https://github.com/zitadel/zitadel.git
synced 2025-02-28 23:17:23 +00:00
fix: otp level (#292)
This commit is contained in:
parent
0a488eb1fb
commit
f31bea8d1c
@ -251,6 +251,9 @@ func (u *UserView) ComputeObject() {
|
||||
u.State = int32(model.UserStateInitial)
|
||||
}
|
||||
}
|
||||
if u.OTPState != int32(model.MfaStateReady) {
|
||||
u.MfaMaxSetUp = int32(req_model.MfaLevelNotSetUp)
|
||||
}
|
||||
if u.OTPState == int32(model.MfaStateReady) {
|
||||
u.MfaMaxSetUp = int32(req_model.MfaLevelSoftware)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user