mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 21:14:03 +00:00
Update comment
This commit is contained in:
parent
aeef8dbce1
commit
3ed173d40f
1 changed files with 2 additions and 2 deletions
|
|
@ -45,8 +45,8 @@ class MailTenancyBootstrapper implements TenancyBootstrapper
|
||||||
|
|
||||||
public function bootstrap(Tenant $tenant): void
|
public function bootstrap(Tenant $tenant): void
|
||||||
{
|
{
|
||||||
// Use custom mail manager that resolves the mailers specified in its $tenantMailers static property
|
// Bind fresh mail manager instance to clear the cached mailers
|
||||||
// Instead of getting the cached mailers from the $mailers property
|
// So that the manager is forced to resolve the mailers with the correct credentials from the config
|
||||||
$this->bindNewMailManagerInstance();
|
$this->bindNewMailManagerInstance();
|
||||||
|
|
||||||
$this->setConfig($tenant);
|
$this->setConfig($tenant);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue