Remove auth check on Playnite start

media
Pat Hartl 2023-09-15 17:35:44 -05:00
parent ebcb943e36
commit 54b7fec96b
1 changed files with 0 additions and 9 deletions

View File

@ -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()
{
return LANCommander.ValidateToken(LANCommander.Token);