feat: add mail client

Untested
This commit is contained in:
Radical 2025-05-27 13:59:06 +00:00
parent 16ccf94631
commit 862e2d6709
6 changed files with 96 additions and 5 deletions

View file

@ -33,7 +33,7 @@ pub async fn get(req: HttpRequest, data: web::Data<Data>) -> Result<HttpResponse
struct NewInfo {
username: Option<String>,
display_name: Option<String>,
password: Option<String>,
//password: Option<String>, will probably be handled through a reset password link
email: Option<String>,
}
@ -83,10 +83,6 @@ pub async fn update(
todo!();
}
if let Some(password) = &new_info.password {
todo!();
}
if let Some(email) = &new_info.email {
todo!();
}