Open Closed

Issue with Phone verification in ABP 7.0.1 #4543


User avatar
0
balessi75 created

ABP Commercial 7.0.1 / EF / Blazor Server / Separate Host and Tenant DBs / Non-tiered

Hi,

While testing our upgrade from 5.2.0 to 7.0.1, we found that on the 'My Account' -> 'Personal Info' area, when a phone number is changed and then saved, the 'Verify' button no longer appears and the user is no longer prompted to verify their phone number.

We confirmed the issue with a newly templated project, and found that in...

Volo.Account.Pro\src\Volo.Abp.Account.Pro.Public.Web\Pages\Account\Components\ProfileManagementGroup\PersonalInfo\Default.js

..the following 'false' parameter is now being passed to .serializeFormToObject in v7.0.1

var input = $("#PersonalSettingsForm").serializeFormToObject(false);

This is what seems to be causing the issue as we overrode Default.js and removed the false parameter (as it was in v5.2.0) and the problem is resolved.

Please advise if this is the correct workaround and if this will be fixed in the next version.

Thanks


2 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    We supported object extensions for personal info tab in 7.0, that's why we did this change. https://support.abp.io/QA/Questions/4469/Entering-invalid-phone-number-locks-you-out-of-the-system

    The problem was fixed and it will include in the next patch version(7.0.2)

  • User Avatar
    0
    balessi75 created

    Excellent, thanks @liangshiwei

Made with ❤️ on ABP v9.1.0-preview. Updated on December 12, 2024, 07:15