mirror of
https://github.com/zitadel/zitadel.git
synced 2025-11-14 15:13:15 +00:00
fix: all enums same style (#262)
* fix: all enums same style * fix: rename process to reduce * add some missing enum renaming Co-authored-by: Livio Amstutz <livio.a@gmail.com>
This commit is contained in:
@@ -17,20 +17,20 @@ type OTP struct {
|
||||
type MfaState int32
|
||||
|
||||
const (
|
||||
MFASTATE_UNSPECIFIED MfaState = iota
|
||||
MFASTATE_NOTREADY
|
||||
MFASTATE_READY
|
||||
MfaStateUnspecified MfaState = iota
|
||||
MfaStateNotReady
|
||||
MfaStateReady
|
||||
)
|
||||
|
||||
type MultiFactor struct {
|
||||
Type MFAType
|
||||
Type MfaType
|
||||
State MfaState
|
||||
}
|
||||
|
||||
type MFAType int32
|
||||
type MfaType int32
|
||||
|
||||
const (
|
||||
MFATYPE_UNSPECIFIED MFAType = iota
|
||||
MFATYPE_OTP
|
||||
MFATYPE_SMS
|
||||
MfaTypeUnspecified MfaType = iota
|
||||
MfaTypeOTP
|
||||
MfaTypeSMS
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user