升级组件:Bootstrap.Security组件升级到1.0.4
This commit is contained in:
parent
9f9f09c47e
commit
423b3f789d
|
@ -44,7 +44,7 @@ namespace Bootstrap.Admin.Controllers.Api
|
||||||
if (value.UserName.Equals(User.Identity.Name, System.StringComparison.OrdinalIgnoreCase))
|
if (value.UserName.Equals(User.Identity.Name, System.StringComparison.OrdinalIgnoreCase))
|
||||||
{
|
{
|
||||||
if (value.UserStatus == UserStates.ChangeDisplayName)
|
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)
|
else if (value.UserStatus == UserStates.ChangePassword)
|
||||||
ret = BootstrapUser.ChangePassword(value.UserName, value.Password, value.NewPassword);
|
ret = BootstrapUser.ChangePassword(value.UserName, value.Password, value.NewPassword);
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<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" />
|
<PackageReference Include="Longbow.Web" Version="1.0.1" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue