aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Users/UserPolicy.cs
diff options
context:
space:
mode:
authorcrobibero <cody@robibe.ro>2020-06-17 10:43:04 -0600
committercrobibero <cody@robibe.ro>2020-06-17 10:43:04 -0600
commit444605703c91bafdcf1a01d864b7b71bd2a67ddb (patch)
tree1eea5b066befbb58eb9ac514bd2c358358fda71c /MediaBrowser.Model/Users/UserPolicy.cs
parent8a834fb7285681e5a8f3df57e4aac36724c0bc1e (diff)
parentcf9223b8cb2f1ebccf20cb1dcd99d19b78cf3e61 (diff)
Merge remote-tracking branch 'upstream/api-migration' into api-filter
Diffstat (limited to 'MediaBrowser.Model/Users/UserPolicy.cs')
-rw-r--r--MediaBrowser.Model/Users/UserPolicy.cs6
1 files changed, 5 insertions, 1 deletions
diff --git a/MediaBrowser.Model/Users/UserPolicy.cs b/MediaBrowser.Model/Users/UserPolicy.cs
index e6c5cbe66..2fd27d3b9 100644
--- a/MediaBrowser.Model/Users/UserPolicy.cs
+++ b/MediaBrowser.Model/Users/UserPolicy.cs
@@ -2,7 +2,9 @@
#pragma warning disable CS1591
using System;
-using MediaBrowser.Model.Configuration;
+using System.Xml.Serialization;
+using Jellyfin.Data.Enums;
+using AccessSchedule = Jellyfin.Data.Entities.AccessSchedule;
namespace MediaBrowser.Model.Users
{
@@ -78,6 +80,8 @@ namespace MediaBrowser.Model.Users
public string[] BlockedChannels { get; set; }
public int RemoteClientBitrateLimit { get; set; }
+
+ [XmlElement(ElementName = "AuthenticationProviderId")]
public string AuthenticationProviderId { get; set; }
public string PasswordResetProviderId { get; set; }