Refact, verification login with secret (#6943)

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

No files matched your search

+2
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,
}