Skip to content

Commit

Permalink
Merge branch 'release/6.23.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
vc-ci committed Jun 26, 2023
2 parents e4197de + 5188296 commit c7db101
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<Authors>VirtoCommerce</Authors>
</PropertyGroup>
<PropertyGroup>
<VersionPrefix>6.22.0</VersionPrefix>
<VersionPrefix>6.23.0</VersionPrefix>
<VersionSuffix></VersionSuffix>
<VersionSuffix Condition=" '$(VersionSuffix)' != '' AND '$(BuildNumber)' != '' ">$(VersionSuffix)-$(BuildNumber)</VersionSuffix>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -513,5 +513,13 @@ private async Task SetLastLoginDate(User user)
user.LastLoginDate = DateTime.UtcNow;
await _signInManager.UserManager.UpdateAsync(user);
}

// GET: storefrontapi/account/passwordrequirements
[HttpGet("passwordrequirements")]
[AllowAnonymous]
public ActionResult<PasswordOptions> GetPasswordRequirements()
{
return _identityOptions.Password;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ public static dto.ApplicationUser ToUserDto(this User user)
IsAdministrator = user.IsAdministrator,
PhoneNumber = user.PhoneNumber,
PhoneNumberConfirmed = user.PhoneNumberConfirmed,
PasswordExpired = user.PasswordExpired,
};

if (!user.Roles.IsNullOrEmpty())
Expand Down

0 comments on commit c7db101

Please sign in to comment.