mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 14:34:04 +00:00
Merge branch '3.x' of github.com:stancl/tenancy into 3.x
This commit is contained in:
commit
49be62bbba
2 changed files with 2 additions and 4 deletions
|
|
@ -85,9 +85,7 @@ class TenancyServiceProvider extends ServiceProvider
|
||||||
],
|
],
|
||||||
|
|
||||||
// Fired only when a synced resource is changed in a different DB than the origin DB (to avoid infinite loops)
|
// Fired only when a synced resource is changed in a different DB than the origin DB (to avoid infinite loops)
|
||||||
Events\SyncedResourceChangedInForeignDatabase::class => [
|
Events\SyncedResourceChangedInForeignDatabase::class => [],
|
||||||
|
|
||||||
],
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -32,7 +32,7 @@ class DatabaseConfig
|
||||||
return Str::random(16);
|
return Str::random(16);
|
||||||
};
|
};
|
||||||
|
|
||||||
static::$passwordGenerator = static::$usernameGenerator ?? function (Tenant $tenant) {
|
static::$passwordGenerator = static::$passwordGenerator ?? function (Tenant $tenant) {
|
||||||
return Hash::make(Str::random(32));
|
return Hash::make(Str::random(32));
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue