mirror of
https://github.com/zitadel/zitadel.git
synced 2025-01-07 07:17:39 +00:00
fix(auth): fix typo in mfa state mapping (#268)
This commit is contained in:
parent
aa0510aa3d
commit
ddebaad497
@ -302,7 +302,7 @@ func genderToModel(gender Gender) usr_model.Gender {
|
||||
func mfaStateFromModel(state usr_model.MfaState) MFAState {
|
||||
switch state {
|
||||
case usr_model.MfaStateReady:
|
||||
return MFAState_MFASTATE_NOT_READY
|
||||
return MFAState_MFASTATE_READY
|
||||
case usr_model.MfaStateNotReady:
|
||||
return MFAState_MFASTATE_NOT_READY
|
||||
default:
|
||||
|
Loading…
x
Reference in New Issue
Block a user