cargo clippy
This commit is contained in:
parent
c9ca23cd82
commit
4e14e383b4
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user