Fixed Password not hashed when pressing 'Start listening'

This commit is contained in:
MaxXor 2015-08-27 09:20:16 +02:00
parent ec7df970d0
commit 0ef438f7b4
1 changed files with 4 additions and 0 deletions

View File

@ -61,6 +61,10 @@ namespace xServer.Forms
return;
}
var newPassword = txtPassword.Text;
if (newPassword != Settings.Password)
AES.PreHashKey(newPassword);
if (btnListen.Text == "Start listening" && !_listenServer.Listening)
{
try