Sfoglia il codice sorgente

Add default for MaxParentalRating to UserPolicy

Shadowghost 2 anni fa
parent
commit
e014522dff
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  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>();