This commit is contained in:
shinichi
2020-10-16 15:15:09 +02:00
parent b868515ade
commit e8a4901f09
2 changed files with 3 additions and 1 deletions

View File

@@ -170,7 +170,7 @@ namespace DoctorApp.Utils
string hashPassword = Util.Hasher.HashString(password);
byte[] message = DataParser.getJsonMessage(DataParser.GetLoginJson(username, hashPassword));
byte[] message = DataParser.getJsonMessage(DataParser.LoginAsDoctor(username, hashPassword));
this.stream.BeginWrite(message, 0, message.Length, new AsyncCallback(OnWrite), null);