Selaa lähdekoodia

Add default for MaxParentalRating to UserPolicy

Shadowghost 2 vuotta sitten
vanhempi
sitoutus
e014522dff
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  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>();