Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
],
"require": {
"php": "^7.3|^8.0",
"laravel/framework": "6.*|7.*|8.*"
"laravel/framework": "6.*|7.*|8.*|9.*"
},
"require-dev": {
"orchestra/testbench": "^6.0",
Expand Down
12 changes: 12 additions & 0 deletions src/App/Notifications/SendVerificationCodeEmail.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,18 @@ public function via($notifiable)
return ['mail'];
}

/**
* Determine which queues should be used for each notification channel.
*
* @return array
*/
public function viaQueues()
{
return [
'mail' => config('laravel2step.laravel2stepEmailQueue'),
];
}

/**
* Get the mail representation of the notification.
*
Expand Down
8 changes: 8 additions & 0 deletions src/config/laravel2step.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,12 @@
'laravel2stepBootstrapCssCdn' => env('LARAVEL_2STEP_BOOTSTRAP_CSS_CDN', 'https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css'),
'laravel2stepCssFile' => env('LARAVEL_2STEP_CSS_FILE', 'css/laravel2step/app.css'),

/*
|--------------------------------------------------------------------------
| Verification Email Queue
|--------------------------------------------------------------------------
*/

'laravel2stepEmailQueue' => env('LARAVEL_2STEP_EMAIL_QUEUE', null),

];