Browse Source

Add default for MaxParentalRating to UserPolicy

Shadowghost 2 năm trước cách đây
mục cha
commit
e014522dff
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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>();