Skip to content

Commit ff98dc9

Browse files
Format
1 parent 1a472e1 commit ff98dc9

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/client.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -485,8 +485,6 @@ where
485485

486486
// Authenticate admin user.
487487
let (transaction_mode, mut server_parameters) = if admin {
488-
489-
490488
// Perform MD5 authentication.
491489
// TODO: Add SASL support.
492490
let salt = md5_challenge(&mut write).await?;
@@ -531,7 +529,6 @@ where
531529
}
532530
};
533531

534-
535532
let config = get_config();
536533

537534
// Compare server and client hashes.
@@ -622,7 +619,6 @@ where
622619
};
623620

624621
let password_hash = if let Some(password) = &pool.settings.user.password {
625-
626622
Some(md5_hash_password(username, password, &salt))
627623
} else {
628624
if !get_config().is_auth_query_configured() {

0 commit comments

Comments
 (0)