Remove auth check on Playnite start
parent
ebcb943e36
commit
54b7fec96b
|
@ -78,15 +78,6 @@ namespace LANCommander.PlaynitePlugin
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
public override void OnApplicationStarted(OnApplicationStartedEventArgs args)
|
|
||||||
{
|
|
||||||
if (LANCommander.Token == null || LANCommander.Client == null || !LANCommander.ValidateToken(LANCommander.Token))
|
|
||||||
{
|
|
||||||
Logger.Trace("No valid authentication token exists. Showing auth window...");
|
|
||||||
ShowAuthenticationWindow();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public bool ValidateConnection()
|
public bool ValidateConnection()
|
||||||
{
|
{
|
||||||
return LANCommander.ValidateToken(LANCommander.Token);
|
return LANCommander.ValidateToken(LANCommander.Token);
|
||||||
|
|
Loading…
Reference in New Issue