aivakha
Filament Login Page with SMS auth
I need to redo a little default Filament Login page. I extends Filament Login Class to redo a logic.
The goal is to have only one field in form => phone number and when this field is validated (present in database) I need send SMS message to this phone and then show one more field for sms verification (to compare sms code).
Can I somehow do my custom code for example if I use Wizard steps:
first step: entering phone number
next button pressed --- sending sms code
second step: entering sms verification code
submit pressed: validating entered verification code and auth user
I'ts not mandatory to use Wizard and steps, any other behaviour will be appreciated or any other opinions how this logic can be solved
11 replies