fix(auth): fix typo in mfa state mapping (#268)

This commit is contained in:
Silvan 2020-06-24 14:12:11 +02:00 committed by GitHub
parent aa0510aa3d
commit ddebaad497
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: