cargo clippy

This commit is contained in:
Pierre HUBERT 2022-04-07 19:00:36 +02:00
parent c9ca23cd82
commit 4e14e383b4

View File

@ -110,7 +110,7 @@ pub async fn users_route(user: CurrentUser, users: web::Data<Addr<UsersActor>>,
success = Some(match is_creating {
true => format!("User {} was successfully updated!", user.full_name()),
false => format!("Failed to update {}'s account!", user.full_name())
}.to_string());
});
if let Some(pass) = new_password {
danger = Some(format!("{}'s temporary time password is {}", user.full_name(), pass));