Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Entering invalid phone number locks you out of the system #15555

Closed
1 task done
ageiter opened this issue Jan 30, 2023 · 1 comment
Closed
1 task done

Entering invalid phone number locks you out of the system #15555

ageiter opened this issue Jan 30, 2023 · 1 comment
Labels

Comments

@ageiter
Copy link

ageiter commented Jan 30, 2023

Is there an existing issue for this?

  • I have searched the existing issues

Description

If the user enters an invalid phone number in the profile under "Personal info" and does not confirm it there, he will not be able to login the next time.

Reason for this: The phone number has to be verified, but this is not possible with a wrong number and the text field for this is readonly.

Hint:

  • The settings "Require confirmed phone number" and "Allow users to confirm their phone number" are activated.
  • Very likely there is the same problem with the mail address.

By the way, very useful would be the validation of the phone number (e.g. whether the country code was specified). Otherwise, when using the Twilio module, you run into an exception with an invalid formatting.

Reproduction Steps

  1. Activate the following settings under "Identity Management": "Require confirmed phone number" and "Allow users to confirm their phone number"
  2. Change the phone number of a user in the "Personal infos".
  3. Do NOT verify phone number and log out the user
  4. Login again with this user
  5. The phone number would have to be verified, but since it was entered incorrectly, the code never arrives. The number cannot be changed in this form (readonly).

Expected behavior

The user should be able to correct the number there.

Actual behavior

Field is readonly, number cannot be changed

Regression?

No response

Known Workarounds

No response

Version

7.0.1

User Interface

Blazor Server

Database Provider

EF Core (Default)

Tiered or separate authentication server

None (Default)

Operation System

Windows (Default)

Other information

Remove "readonly" or set readonly="false" for the PhoneNumber field:

<input type="text" id="PhoneNumber" name="PhoneNumber" value="055 111 22 33" class="form-control" readonly="false">

@ageiter ageiter added the bug label Jan 30, 2023
@maliming
Copy link
Member

maliming commented Feb 2, 2023

hi

It seems you are using ABP commercial.
Please get help on https://support.abp.io/

@maliming maliming closed this as completed Feb 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants