#10 Fixed testing code

This commit is contained in:
Serraniel 2019-01-30 20:50:22 +01:00
parent 224273d97b
commit ff52b5eb8a
Signed by untrusted user who does not match committer: Serraniel
GPG key ID: 3690B4E7364525D3

View file

@ -183,13 +183,12 @@ namespace DML.Application.Classes
while (!loggedIn)
{
var token = "abc";
try
{
if (!string.IsNullOrEmpty(Settings.LoginToken))
{
Logger.Debug("Trying to login with last known token...");
loggedIn = await DMLClient.Login(token);
loggedIn = await DMLClient.Login(Settings.LoginToken);
}
}