mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 00:49:42 +08:00
feat(users): Create generate recovery codes API (#4708)
This commit is contained in:
@ -257,3 +257,8 @@ pub struct TotpSecret {
|
||||
pub struct VerifyTotpRequest {
|
||||
pub totp: Option<Secret<String>>,
|
||||
}
|
||||
|
||||
#[derive(Debug, serde::Deserialize, serde::Serialize)]
|
||||
pub struct RecoveryCodes {
|
||||
pub recovery_codes: Vec<Secret<String>>,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user