mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-28 23:18:54 +00:00
feat(api): add and remove OTP (SMS and email) (#6295)
* refactor: rename otp to totp * feat: add otp sms and email * implement tests
This commit is contained in:
@@ -673,7 +673,7 @@ type mfaVerifyData struct {
|
||||
baseData
|
||||
profileData
|
||||
MFAType domain.MFAType
|
||||
otpData
|
||||
totpData
|
||||
}
|
||||
|
||||
type mfaDoneData struct {
|
||||
@@ -682,7 +682,7 @@ type mfaDoneData struct {
|
||||
MFAType domain.MFAType
|
||||
}
|
||||
|
||||
type otpData struct {
|
||||
type totpData struct {
|
||||
Url string
|
||||
Secret string
|
||||
QrCode string
|
||||
|
||||
Reference in New Issue
Block a user