From 0ef438f7b4e701ef45aed00e01e179cdf708a314 Mon Sep 17 00:00:00 2001 From: MaxXor Date: Thu, 27 Aug 2015 09:20:16 +0200 Subject: [PATCH] Fixed Password not hashed when pressing 'Start listening' --- Server/Forms/FrmSettings.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Server/Forms/FrmSettings.cs b/Server/Forms/FrmSettings.cs index c4a9cfd7..b9c39589 100644 --- a/Server/Forms/FrmSettings.cs +++ b/Server/Forms/FrmSettings.cs @@ -61,6 +61,10 @@ private void btnListen_Click(object sender, EventArgs e) return; } + var newPassword = txtPassword.Text; + if (newPassword != Settings.Password) + AES.PreHashKey(newPassword); + if (btnListen.Text == "Start listening" && !_listenServer.Listening) { try