Luke Pulverenti пре 9 година
родитељ
комит
c99d6c8997
1 измењених фајлова са 3 додато и 3 уклоњено
  1. 3 3
      MediaBrowser.Common.Implementations/Security/PluginSecurityManager.cs

+ 3 - 3
MediaBrowser.Common.Implementations/Security/PluginSecurityManager.cs

@@ -19,7 +19,7 @@ namespace MediaBrowser.Common.Implementations.Security
     public class PluginSecurityManager : ISecurityManager
     public class PluginSecurityManager : ISecurityManager
     {
     {
         private const string MBValidateUrl = MbAdmin.HttpsUrl + "service/registration/validate";
         private const string MBValidateUrl = MbAdmin.HttpsUrl + "service/registration/validate";
-        private const string AppstoreRegUrl = /*MbAdmin.HttpsUrl*/ "http://mb3admin.com/admin/" + "service/appstore/register";
+        private const string AppstoreRegUrl = /*MbAdmin.HttpsUrl*/ "http://mb3admin.com/test/admin/" + "service/appstore/register";
 
 
         /// <summary>
         /// <summary>
         /// The _is MB supporter
         /// The _is MB supporter
@@ -199,7 +199,7 @@ namespace MediaBrowser.Common.Implementations.Security
                 Url = AppstoreRegUrl,
                 Url = AppstoreRegUrl,
                 CancellationToken = CancellationToken.None
                 CancellationToken = CancellationToken.None
             };
             };
-            options.RequestHeaders.Add("X-Emby-Token", _appHost.SystemId);
+            options.RequestHeaders.Add("X-Emby-Token", /*_appHost.SystemId*/ "08606E86D043");
             options.RequestContent = parameters;
             options.RequestContent = parameters;
             options.RequestContentType = "application/json";
             options.RequestContentType = "application/json";
 
 
@@ -247,7 +247,7 @@ namespace MediaBrowser.Common.Implementations.Security
             }
             }
             catch (IOException)
             catch (IOException)
             {
             {
-                
+
             }
             }
         }
         }