I have a project where I am using ASP.NET Core Identity (with IdentityServer4) for user authentication.
When I use ChangePasswordAsync
to change password, it is allowing the new password to be the same as the current password. Is there a way to prevent this?