升级组件:Bootstrap.Security组件升级到1.0.4

This commit is contained in:
Argo-MacBookPro 2018-09-08 18:11:40 +08:00
parent 9f9f09c47e
commit 423b3f789d
2 changed files with 2 additions and 2 deletions

View File

@ -44,7 +44,7 @@ namespace Bootstrap.Admin.Controllers.Api
if (value.UserName.Equals(User.Identity.Name, System.StringComparison.OrdinalIgnoreCase))
{
if (value.UserStatus == UserStates.ChangeDisplayName)
ret = BootstrapUser.SaveUserInfoByName(value.UserName, value.DisplayName);
ret = BootstrapUser.SaveDisplayName(value.UserName, value.DisplayName);
else if (value.UserStatus == UserStates.ChangePassword)
ret = BootstrapUser.ChangePassword(value.UserName, value.Password, value.NewPassword);
}

View File

@ -11,7 +11,7 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="Bootstrap.Security" Version="1.0.3" />
<PackageReference Include="Bootstrap.Security" Version="1.0.4" />
<PackageReference Include="Longbow.Web" Version="1.0.1" />
</ItemGroup>