diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-04-23 15:17:21 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-04-23 15:17:21 -0400 |
| commit | 4390e2f7108f24f89a1bf7ef9f6f7c9c57b4f221 (patch) | |
| tree | f0c18dd698667e186bffc6ab72509982d3122f3b /MediaBrowser.ServerApplication | |
| parent | 0e7ad811acfa6a12555dfb205cd259584565b0e9 (diff) | |
#35 - Make IBN path configurable
Diffstat (limited to 'MediaBrowser.ServerApplication')
| -rw-r--r-- | MediaBrowser.ServerApplication/App.xaml.cs | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/MediaBrowser.ServerApplication/App.xaml.cs b/MediaBrowser.ServerApplication/App.xaml.cs index 3c1524eec..762eb4cd2 100644 --- a/MediaBrowser.ServerApplication/App.xaml.cs +++ b/MediaBrowser.ServerApplication/App.xaml.cs @@ -222,35 +222,10 @@ namespace MediaBrowser.ServerApplication var url = "http://localhost:" + configurationManager.Configuration.HttpServerPortNumber + "/" + Kernel.Instance.WebApplicationName + "/dashboard/" + page; - if (loggedInUser != null) - { - url = AddAutoLoginToDashboardUrl(url, loggedInUser); - } - OpenUrl(url); } /// <summary> - /// Adds the auto login to dashboard URL. - /// </summary> - /// <param name="url">The URL.</param> - /// <param name="user">The user.</param> - /// <returns>System.String.</returns> - public static string AddAutoLoginToDashboardUrl(string url, User user) - { - if (url.IndexOf('?') == -1) - { - url += "?u=" + user.Id; - } - else - { - url += "&u=" + user.Id; - } - - return url; - } - - /// <summary> /// Opens the URL. /// </summary> /// <param name="url">The URL.</param> |
