mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-24 01:34:45 +03:00
Merge branch 'master' of https://github.com/MediaBrowser/MediaBrowser
This commit is contained in:
@@ -202,9 +202,9 @@ namespace MediaBrowser.Api
|
||||
|
||||
var result = new PluginSecurityInfo
|
||||
{
|
||||
IsMBSupporter = kernel.PluginSecurityManager.IsMBSupporter,
|
||||
SupporterKey = kernel.PluginSecurityManager.SupporterKey,
|
||||
LegacyKey = kernel.PluginSecurityManager.LegacyKey
|
||||
IsMBSupporter = kernel.SecurityManager.IsMBSupporter,
|
||||
SupporterKey = kernel.SecurityManager.SupporterKey,
|
||||
LegacyKey = kernel.SecurityManager.LegacyKey
|
||||
};
|
||||
|
||||
return ToOptimizedResult(result);
|
||||
@@ -220,8 +220,8 @@ namespace MediaBrowser.Api
|
||||
|
||||
var info = _jsonSerializer.DeserializeFromStream<PluginSecurityInfo>(request.RequestStream);
|
||||
|
||||
kernel.PluginSecurityManager.SupporterKey = info.SupporterKey;
|
||||
kernel.PluginSecurityManager.LegacyKey = info.LegacyKey;
|
||||
kernel.SecurityManager.SupporterKey = info.SupporterKey;
|
||||
kernel.SecurityManager.LegacyKey = info.LegacyKey;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user