test reset password
This commit is contained in:
parent
60c9c915e7
commit
2a5cd7f4a1
@ -20,6 +20,7 @@ use crate::session::AppClaims;
|
||||
|
||||
mod change_password;
|
||||
mod email_check;
|
||||
mod forgot_password;
|
||||
mod magic_generate;
|
||||
mod magic_sign_in;
|
||||
mod reset_password;
|
||||
@ -62,6 +63,7 @@ pub fn configure(http_client: reqwest::Client, config: &mut ServiceConfig) {
|
||||
.service(magic_sign_in::magic_sign_in)
|
||||
.service(token_refresh::refresh_token)
|
||||
.service(change_password::change_password)
|
||||
.service(forgot_password::forgot_password)
|
||||
.configure(|c| {
|
||||
social_auth::configure(http_client, c);
|
||||
}),
|
||||
|
@ -45,6 +45,12 @@ pub enum EmailMsg {
|
||||
token: MagicLinkToken,
|
||||
current_site: String,
|
||||
},
|
||||
ForgotPassword {
|
||||
first_name: String,
|
||||
uidb: String,
|
||||
token: String,
|
||||
current_site: String,
|
||||
},
|
||||
}
|
||||
|
||||
#[derive(Debug, Serialize, Deserialize)]
|
||||
|
Loading…
Reference in New Issue
Block a user