diff --git a/LANCommander.Playnite.Extension/Views/Authentication.xaml.cs b/LANCommander.Playnite.Extension/Views/Authentication.xaml.cs index f5f2c92..587b847 100644 --- a/LANCommander.Playnite.Extension/Views/Authentication.xaml.cs +++ b/LANCommander.Playnite.Extension/Views/Authentication.xaml.cs @@ -101,6 +101,7 @@ namespace LANCommander.PlaynitePlugin.Views Plugin.Settings.ServerAddress = Context.ServerAddress; Plugin.Settings.AccessToken = response.AccessToken; Plugin.Settings.RefreshToken = response.RefreshToken; + Plugin.Settings.PlayerName = Context.UserName; Plugin.LANCommander.Token = new AuthToken() { @@ -145,6 +146,7 @@ namespace LANCommander.PlaynitePlugin.Views Plugin.Settings.ServerAddress = Context.ServerAddress; Plugin.Settings.AccessToken = response.AccessToken; Plugin.Settings.RefreshToken = response.RefreshToken; + Plugin.Settings.PlayerName = Context.UserName; Plugin.LANCommander.Token = new AuthToken() {