mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 21:22:58 +01:00
f712b789ca
* fix typo * php-cs traits * CS fixer pass * Password protect User routes * Implement checks to prevent editing a deleted record * Clean up payment flows * Fixes for tests
17 lines
377 B
PHP
17 lines
377 B
PHP
<?php
|
|
|
|
namespace App\Providers;
|
|
|
|
use App\Helpers\Mail\GmailTransportManager;
|
|
use Illuminate\Mail\MailServiceProvider as MailProvider;
|
|
|
|
class MailServiceProvider extends MailProvider
|
|
{
|
|
protected function registerSwiftTransport()
|
|
{
|
|
$this->app->singleton('swift.transport', function ($app) {
|
|
return new GmailTransportManager($app);
|
|
});
|
|
}
|
|
}
|