feat(export): add auth reset_password export
zhenyi committed
Added lib/export/auth/reset_password.rs lib/export/auth/reset_password.rs +15 −0 View lib/export/auth/reset_password.rs
@@ -0,0 +1,15 @@
1use serde::{Deserialize, Serialize};
2use utoipa::ToSchema;
3
4#[derive(Debug, Clone, Deserialize, ToSchema)]
5pub struct ResetPasswordCmd {
6 pub email: String,
7 pub token: String,
8 pub new_password: String,
9 pub temp_key_value: String,
10}
11
12#[derive(Debug, Clone, Serialize, ToSchema)]
13pub struct ResetPasswordResp {
14 pub ok: bool,
15}