someshit going on
This commit is contained in:
1 parent
a04c5b1f00
commit
4911a37cfd
9 files changed
+194
No files matched your search
@@ -32,11 +32,17 @@ protected function getPhoneNumberFormComponent(): TextInput
|
||||
|
||||
protected function beforeValidate(): void
|
||||
{
|
||||
info(['$this->data' => $this->data]);
|
||||
if (isset($this->data['phone_number'])) {
|
||||
$this->data['phone_number'] = str_replace(' ', '', $this->data['phone_number']);
|
||||
}
|
||||
}
|
||||
|
||||
protected function afterRegister(): void
|
||||
{
|
||||
module('SMS')->verify($this->data['phone_number']);
|
||||
}
|
||||
|
||||
protected function mutateFormDataBeforeRegister(array $data): array
|
||||
{
|
||||
$data['phone_number'] = str_replace(' ', '', $data['phone_number']);
|
||||
|
||||
Reference in new issue
Block a user