We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b970ecf + 7a29b79 commit cb89e6eCopy full SHA for cb89e6e
1 file changed
ProcessMaker/Multitenancy/SwitchTenant.php
@@ -113,6 +113,9 @@ public function makeCurrent(IsTenant $tenant): void
113
}
114
config($config);
115
116
+ // The previous app key was saved in the singleton, so we need to forget it.
117
+ $app->forgetInstance('encrypter');
118
+
119
// Extend BroadcastManager to our custom implementation that prefixes the channel names with the tenant id.
120
$app->extend(BroadcastManager::class, function ($manager, $app) use ($tenant) {
121
return new TenantAwareBroadcastManager($app, $tenant->id);
0 commit comments