Merge pull request #2569 from MediaBrowser/dev

Dev
This commit is contained in:
Luke 2017-04-08 14:32:24 -04:00 committed by GitHub
commit e25c538ac7
7 changed files with 17 additions and 4 deletions

View File

@ -1,5 +1,6 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using System.Threading.Tasks;
@ -75,6 +76,14 @@ namespace Emby.Common.Implementations.EnvironmentInfo
}
}
public char PathSeparator
{
get
{
return Path.PathSeparator;
}
}
public MediaBrowser.Model.System.Architecture SystemArchitecture
{
get

View File

@ -461,7 +461,7 @@ namespace MediaBrowser.Api
{
var success = await _userManager.AuthenticateUser(user.Name, request.CurrentPassword, Request.RemoteIp).ConfigureAwait(false);
if (success != null)
if (success == null)
{
throw new ArgumentException("Invalid user or password entered.");
}

View File

@ -11,6 +11,7 @@ namespace MediaBrowser.Model.System
void SetProcessEnvironmentVariable(string name, string value);
string GetUserId();
string StackTrace { get; }
char PathSeparator { get; }
}
public enum OperatingSystem

View File

@ -734,6 +734,9 @@
<BundleResource Include="..\MediaBrowser.WebDashboard\dashboard-ui\bower_components\emby-webcomponents\globalize.js">
<Link>Resources\dashboard-ui\bower_components\emby-webcomponents\globalize.js</Link>
</BundleResource>
<BundleResource Include="..\MediaBrowser.WebDashboard\dashboard-ui\bower_components\emby-webcomponents\homesections.js">
<Link>Resources\dashboard-ui\bower_components\emby-webcomponents\homesections.js</Link>
</BundleResource>
<BundleResource Include="..\MediaBrowser.WebDashboard\dashboard-ui\bower_components\emby-webcomponents\idb.js">
<Link>Resources\dashboard-ui\bower_components\emby-webcomponents\idb.js</Link>
</BundleResource>

View File

@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>MediaBrowser.Common</id>
<version>3.0.697</version>
<version>3.0.698</version>
<title>Emby.Common</title>
<authors>Emby Team</authors>
<owners>ebr,Luke,scottisafool</owners>

View File

@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>MediaBrowser.Server.Core</id>
<version>3.0.697</version>
<version>3.0.698</version>
<title>Emby.Server.Core</title>
<authors>Emby Team</authors>
<owners>ebr,Luke,scottisafool</owners>

View File

@ -1,3 +1,3 @@
using System.Reflection;
[assembly: AssemblyVersion("3.2.11.1")]
[assembly: AssemblyVersion("3.2.12.1")]