mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 21:34:03 +00:00
Fix comment
This commit is contained in:
parent
f77d56aea7
commit
8522ea3b4b
1 changed files with 1 additions and 2 deletions
|
|
@ -44,8 +44,7 @@ class MailTenancyBootstrapper implements TenancyBootstrapper
|
||||||
|
|
||||||
public function bootstrap(Tenant $tenant): void
|
public function bootstrap(Tenant $tenant): void
|
||||||
{
|
{
|
||||||
// Bind fresh mail manager instance to clear the cached mailers
|
// Forget the mail manager instance to clear the cached mailers
|
||||||
// So that the manager is forced to resolve the mailers with the correct credentials from the config
|
|
||||||
$this->app->forgetInstance('mail.manager');
|
$this->app->forgetInstance('mail.manager');
|
||||||
|
|
||||||
$this->setConfig($tenant);
|
$this->setConfig($tenant);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue