Basic and login and phone number login getting merged

i have 2 types of login
1)Login with username and password
2)Login with Phone Number

Now when i have added an phone number in db to an user through backendless console
and now even when i try to login that particular user with basic login(username and password) and not phone number login it still goes to login with phone number api and only return transaction id

Hello @Sneha_Borkar

Thank you for contacting the support team. Which column do you use as an identity?

Regards,
Inna

Hi @Inna_Shkolnaya

Email is identity

Please provide your APP ID.
Can you create a test user for me so that I can reproduce the problem?

Regards,
Inna

yes sure @Inna_Shkolnaya

AppId : 3ED90360-8B53-574C-FFA9-687841D2DE00

test user inside the application (users table) ryt?

email:abc@gmail.com
password:abc123

@Sneha_Borkar

I just logged this user in through your “Login” page in the UI-builder and I got the following message “Logged In Successfully”. Is this the result you are expecting?

@Inna_Shkolnaya
yea i just received the verification code on my phone number

it works fine login is successful
but i have 2 different logins one with username nd password and one with phone number
so even if i go with username nd password login nd if that user has phonenumber it goes to twilio api nd sends an code to phone number

@Sneha_Borkar

If you log in this user through the rest console, will you get a confirmation code?

@Sneha_Borkar

Thank you for the additional information. I was able to reproduce this problem. Internal ticket BKNDLSS-27779 has been created. We will let you know as soon as the problem is fixed.

Regards,
Inna

Hello @Sneha_Borkar

This is designed to deliver Two-Factor authentication out of the box, which means when you force your user to use PhoneNumber for every single login.

However, you are able to switch it off by disabling the BeforeLogin event handler of the Plugin

Does it make sense?

Regards, Vlad

Thank you @vladimir-upirov it works fine now!!