[ADD] added username handling sending with json convert

This commit is contained in:
Sem van der Hoeven
2020-10-20 16:31:59 +02:00
parent 5732f0b31d
commit 0009393960
2 changed files with 6 additions and 3 deletions

View File

@@ -93,7 +93,7 @@ namespace Server.Models
case JSONConvert.LOGIN:
// json log in username data
string uName = JSONConvert.GetUsernameLogin(message);
string uName = JSONConvert.GetUsernameLogin(payload);
if (uName != null)
{
User = new User(uName);