mirror of
https://gitlab.com/famedly/conduit.git
synced 2025-08-11 17:50:59 +00:00
chore(rust): upgrade to 1.85.0
required for axum 0.8.x
(cherry picked from commit b44b5641f0
)
This commit is contained in:
parent
e39cdc5c02
commit
321b7cf8c0
15 changed files with 35 additions and 44 deletions
|
@ -491,7 +491,7 @@ impl KeyValueDatabase {
|
|||
for (userid, password) in db.userid_password.iter() {
|
||||
let password = utils::string_from_bytes(&password);
|
||||
|
||||
let empty_hashed_password = password.map_or(false, |password| {
|
||||
let empty_hashed_password = password.is_ok_and(|password| {
|
||||
argon2::verify_encoded(&password, b"").unwrap_or(false)
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue