Please try adding a new phone number field to the login and registration forms via these hooks (you can also search sample code snippets on the forum by these hooks):
hivepress/v1/forms/user_login
hivepress/v1/forms/user_register
You can also add the verification code field (and make it optional), and display some custom message like “Please enter the verification code you received…”. The other way to implement this is to redirect users to a custom verification form page after login/registration (you can set the redirect URL via the same hooks) https://hivepress.io/support/topic/how-do-i-redirect-to-another-page-on-click-the-sign-in-button/#post-4518
The hooks that you can use to call some custom functions on login/registration:
hivepress/v1/models/user/login
hivepress/v1/models/user/register
You can filter and add custom form errors via these hooks:
hivepress/v1/forms/user_login/errors
hivepress/v1/forms/user_register/errors
Hope this helps.