Update src/controllers/login_controller.rs
This commit is contained in:
parent
9480090ab1
commit
015af141d0
@ -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(),
|
||||
|
Loading…
Reference in New Issue
Block a user