Fix for last patch
This commit is contained in:
parent
73aa146b84
commit
b1e1bd2342
2
users.c
2
users.c
@ -500,7 +500,7 @@ struct user_record *new_user(int socket) {
|
|||||||
}
|
}
|
||||||
} while (!passok);
|
} while (!passok);
|
||||||
gen_salt(&user->salt);
|
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, "You Entered:\r\n");
|
||||||
s_putstring(socket, "-------------------------------------\r\n");
|
s_putstring(socket, "-------------------------------------\r\n");
|
||||||
|
Reference in New Issue
Block a user