Pārlūkot izejas kodu

Add default for MaxParentalRating to UserPolicy

Shadowghost 2 gadi atpakaļ
vecāks
revīzija
e014522dff
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1 0
      MediaBrowser.Model/Users/UserPolicy.cs

+ 1 - 0
MediaBrowser.Model/Users/UserPolicy.cs

@@ -46,6 +46,7 @@ namespace MediaBrowser.Model.Users
             LoginAttemptsBeforeLockout = -1;
 
             MaxActiveSessions = 0;
+            MaxParentalRating = null;
 
             EnableAllChannels = true;
             EnabledChannels = Array.Empty<Guid>();