mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Remove unused warn and fix dangling parameter.
This commit is contained in:
parent
4a65cddd15
commit
81f41e278e
@ -1,7 +1,6 @@
|
||||
use client::{error::Error as ClientError, Client};
|
||||
use common::comp;
|
||||
use crossbeam::channel::{unbounded, Receiver, TryRecvError};
|
||||
use log::info;
|
||||
use std::sync::atomic::{AtomicBool, Ordering};
|
||||
use std::sync::Arc;
|
||||
use std::{net::ToSocketAddrs, thread, time::Duration};
|
||||
|
@ -205,7 +205,6 @@ fn attempt_login(
|
||||
let config = Config::default();
|
||||
argon2::hash_encoded(password.as_bytes(), salt, &config).unwrap()
|
||||
},
|
||||
false,
|
||||
));
|
||||
}
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user