diff --git a/modules/account/src/Volo.Abp.Account.Blazor/Pages/Account/Manage.razor.cs b/modules/account/src/Volo.Abp.Account.Blazor/Pages/Account/Manage.razor.cs index 77cf43327c..b1e1b6c2bd 100644 --- a/modules/account/src/Volo.Abp.Account.Blazor/Pages/Account/Manage.razor.cs +++ b/modules/account/src/Volo.Abp.Account.Blazor/Pages/Account/Manage.razor.cs @@ -58,11 +58,6 @@ namespace Volo.Abp.Account.Blazor.Pages.Account return; } - if (!await UiMessageService.ConfirmAsync(UiLocalizer["AreYouSure"])) - { - return; - } - await ProfileAppService.ChangePasswordAsync(new ChangePasswordInput { CurrentPassword = ChangePasswordModel.CurrentPassword, @@ -73,12 +68,7 @@ namespace Volo.Abp.Account.Blazor.Pages.Account } protected async Task UpdatePersonalInfoAsync() - { - if (!await UiMessageService.ConfirmAsync(UiLocalizer["AreYouSure"])) - { - return; - } - + { await ProfileAppService.UpdateAsync( ObjectMapper.Map(PersonalInfoModel) );