Implemented basic hashing
This commit is contained in:
@ -22,7 +22,7 @@ func send_login():
|
||||
if is_logged_in():
|
||||
return
|
||||
|
||||
var password := "password"
|
||||
var password := "password".sha256_text()
|
||||
var buffer := StreamPeerBuffer.new()
|
||||
buffer.put_8(Packet.LOGIN)
|
||||
buffer.put_data(JSON.stringify([Global.username, password]).to_utf8_buffer())
|
||||
|
Reference in New Issue
Block a user