1
0
Fork 0
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:
Matthias Ahouansou 2025-06-22 14:19:22 +01:00
parent e39cdc5c02
commit 321b7cf8c0
No known key found for this signature in database
15 changed files with 35 additions and 44 deletions

View file

@ -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)
});