Skip to content

Commit

Permalink
added 'sended code event' + values
Browse files Browse the repository at this point in the history
  • Loading branch information
lee-to committed Jun 14, 2021
1 parent 6310319 commit 7be07a4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Livewire/PhoneVerification.php
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,7 @@ protected function eventsSendCode() {
if(!$this->stopEvents && config("phone_auth.emitSendCode")) {
$this->emit(config("phone_auth.emitSendCode"), [
"phone" => Str::phoneNumber($this->phone),
"values" => $this->fieldsValues,
]);
}
}
Expand Down

0 comments on commit 7be07a4

Please sign in to comment.