From 136577e9a9e49584bb76c0b4e069b650c32bd51e Mon Sep 17 00:00:00 2001 From: Yunus Emre Kalkan Date: Mon, 5 Aug 2019 16:25:12 +0300 Subject: [PATCH] Update ChangePasswordModal.cshtml.cs --- .../Pages/Identity/Shared/ChangePasswordModal.cshtml.cs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/modules/identity/src/Volo.Abp.Identity.Web/Pages/Identity/Shared/ChangePasswordModal.cshtml.cs b/modules/identity/src/Volo.Abp.Identity.Web/Pages/Identity/Shared/ChangePasswordModal.cshtml.cs index 29dda11426..c698b6b6f6 100644 --- a/modules/identity/src/Volo.Abp.Identity.Web/Pages/Identity/Shared/ChangePasswordModal.cshtml.cs +++ b/modules/identity/src/Volo.Abp.Identity.Web/Pages/Identity/Shared/ChangePasswordModal.cshtml.cs @@ -33,8 +33,11 @@ namespace Volo.Abp.Identity.Web.Pages.Identity.Shared } await _profileAppService.ChangePasswordAsync( - ChangePasswordInfoModel.CurrentPassword, - ChangePasswordInfoModel.NewPassword + new ChangePasswordInput() + { + CurrentPassword = ChangePasswordInfoModel.CurrentPassword, + NewPassword = ChangePasswordInfoModel.NewPassword + } ); return NoContent();