Update src/controllers/login_controller.rs
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing

This commit is contained in:
Pierre HUBERT 2024-05-23 09:18:35 +00:00
parent 9480090ab1
commit 015af141d0

View File

@ -143,7 +143,7 @@ pub async fn login_route(
}
// Try to authenticate user
else if let Some(req) = &req {
login = req.login.clone();
login.clone_from(&req.login);
let response: LoginResult = users
.send(users_actor::LocalLoginRequest {
login: login.clone(),