#10 Fixed testing code
This commit is contained in:
parent
224273d97b
commit
ff52b5eb8a
|
@ -183,13 +183,12 @@ namespace DML.Application.Classes
|
||||||
|
|
||||||
while (!loggedIn)
|
while (!loggedIn)
|
||||||
{
|
{
|
||||||
var token = "abc";
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
if (!string.IsNullOrEmpty(Settings.LoginToken))
|
if (!string.IsNullOrEmpty(Settings.LoginToken))
|
||||||
{
|
{
|
||||||
Logger.Debug("Trying to login with last known token...");
|
Logger.Debug("Trying to login with last known token...");
|
||||||
loggedIn = await DMLClient.Login(token);
|
loggedIn = await DMLClient.Login(Settings.LoginToken);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue