Base solution for your next web application
Open Closed

Users cannot edit/add phone numbers on registration or after successful login #9333


User avatar
0
andry3ag created

Hi Team,

We have recently download the ASP.Net Core 3x with Anguylar 9.x (version 8.6). I have set up the two factor authentication successfully. But there is no way for users to enter there phone number upon registration or even after they log in. The "My settings" page under profile is missing the phone number. The only place where I can enter a phone number for user is from the tenant administration under the "Users" tab page where we can edit all users. Here I can add phone number for user but however the phone number is not validated. I had to set that manualy from the database. I have seen a similar question on here (https://support.aspnetzero.com/QA/Questions/8328/Users---MySettings---allow-to-maintain-phone-number) which the answer said "Please enable Phone number verification enabled (via SMS)" under the tenant settings user management tab. But I do not see that option under the single tenant settigs as shown by screen shot below

Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)

3 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    If your app is multi tenant, this setting is in Host Settings page.

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    bruno93 created

    My app is not multi tenant, and I have same problem. Can't find "Phone number verification enabled"

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    In that case, it should appear on settings page. Can you cehck this in your source code https://github.com/aspnetzero/aspnet-zero-core/blob/dev/angular/src/app/admin/settings/tenant-settings.component.html#L323 ?

    Thanks,

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)