author | alfadur |
Mon, 03 Jun 2019 22:41:43 +0300 | |
changeset 15109 | acd50a72af59 |
parent 15108 | 7a54df47b852 |
child 15110 | 6a8c294f49c9 |
--- a/rust/hedgewars-server/src/server/database.rs Mon Jun 03 18:56:08 2019 +0200 +++ b/rust/hedgewars-server/src/server/database.rs Mon Jun 03 22:41:43 2019 +0300 @@ -69,7 +69,7 @@ let server_hash = get_hash(protocol, &password, &server_salt, &client_salt); password.replace_range(.., "🦔🦔🦔🦔🦔🦔🦔🦔"); - if server_hash == client_hash { + if password_hash == client_hash { Ok(Some(AccountInfo { is_registered: true, is_admin: is_admin == 1,