Fix for last patch

This commit is contained in:
Andrew Pamment 2016-08-04 21:43:53 +10:00
parent 73aa146b84
commit b1e1bd2342

View File

@ -500,7 +500,7 @@ struct user_record *new_user(int socket) {
}
} while (!passok);
gen_salt(&user->salt);
user->password = hash_sha256(buffer, salt);
user->password = hash_sha256(buffer, user->salt);
s_putstring(socket, "You Entered:\r\n");
s_putstring(socket, "-------------------------------------\r\n");