Refact, verification login with secret (#6943)

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou
2024-01-21 19:14:28 -08:00
committed by GitHub
parent 48102e9c53
commit a42df9a27b
4 changed files with 30 additions and 11 deletions

View File

@@ -97,6 +97,8 @@ pub struct AuthBody {
pub r#type: String,
#[serde(default)]
pub tfa_type: String,
#[serde(default)]
pub secret: String,
pub user: UserPayload,
}