#387 trim the spaces from the api key. Tidied up the setting models a bit.

This commit is contained in:
tidusjar 2016-07-20 10:08:44 +01:00
commit 6392ee0bde
18 changed files with 287 additions and 297 deletions

View file

@ -31,10 +31,11 @@ using Newtonsoft.Json;
namespace PlexRequests.Core.SettingModels
{
public class AuthenticationSettings : Settings
public sealed class AuthenticationSettings : Settings
{
public bool UserAuthentication { get; set; }
public bool UsePassword { get; set; }
[JsonProperty("PlexAuthToken")]
[Obsolete("This should be migrated over into the Plex Settings and then removed in the next release")]
public string OldPlexAuthToken { get; set; }