Explorar o código

Add default for MaxParentalRating to UserPolicy

Shadowghost %!s(int64=2) %!d(string=hai) anos
pai
achega
e014522dff
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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>();