3 references to OldPassword
Microsoft.AspNetCore.Identity (3)
Data\InfoRequest.cs (1)
20/// The optional new password for the authenticated user. If a new password is provided, the <see cref="OldPassword"/> is required.
IdentityApiEndpointRouteBuilderExtensions.cs (2)
364if (string.IsNullOrEmpty(infoRequest.OldPassword)) 370var changePasswordResult = await userManager.ChangePasswordAsync(user, infoRequest.OldPassword, infoRequest.NewPassword);