Remove Username-Password Form and Insert custom form

Hello all,
I want to apply custom SMS authentication. So to apply this I inserted custom SMS 2fa in my browser and now I want to remove username password and just apply my mobile number form but it gives me the error as “Invalid username and password”.
I applied the code of this repo:
GitHub - netzbegruenung/keycloak-mfa-plugins: Keycloak plugins for MFA (enforce MFA, SMS authentication step, native app integration)
Implementing MFA using SMS OTP in Keycloak | by Bhuvanesh Kamaraj | Medium

Also can I apply my sms form without using username and password form?