浏览代码

Add default for MaxParentalRating to UserPolicy

Shadowghost 2 年之前
父节点
当前提交
e014522dff
共有 1 个文件被更改,包括 1 次插入0 次删除
  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>();