Browse Source

Hide new users from public API by default

sparky8251 6 năm trước cách đây
mục cha
commit
44a3e0a97b
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      MediaBrowser.Model/Users/UserPolicy.cs

+ 2 - 0
MediaBrowser.Model/Users/UserPolicy.cs

@@ -79,6 +79,8 @@ namespace MediaBrowser.Model.Users
 
         public UserPolicy()
         {
+            IsHidden = true;
+            
             EnableContentDeletion = false;
             EnableContentDeletionFromFolders = Array.Empty<string>();