mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-15 10:43:30 +01:00
Validate AuthenticationProviderId and PasswordResetProviderId (#10553)
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
|
||||
using System;
|
||||
using System.ComponentModel;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.Xml.Serialization;
|
||||
using Jellyfin.Data.Enums;
|
||||
using AccessSchedule = Jellyfin.Data.Entities.AccessSchedule;
|
||||
@@ -174,8 +175,10 @@ namespace MediaBrowser.Model.Users
|
||||
public int RemoteClientBitrateLimit { get; set; }
|
||||
|
||||
[XmlElement(ElementName = "AuthenticationProviderId")]
|
||||
[Required(AllowEmptyStrings = false)]
|
||||
public string AuthenticationProviderId { get; set; }
|
||||
|
||||
[Required(AllowEmptyStrings= false)]
|
||||
public string PasswordResetProviderId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user