mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 19:04:02 +00:00
improve comments
This commit is contained in:
parent
f97651e16b
commit
7f6166d49a
1 changed files with 1 additions and 3 deletions
|
|
@ -131,9 +131,7 @@ class DatabaseConfig
|
|||
$templateConnection = config("database.connections.{$template}");
|
||||
|
||||
if ($this->manager() instanceof Contracts\ManagesDatabaseUsers) {
|
||||
// We don't need username and password for database creation/deletion
|
||||
// Username and password will be saved in Tenant's config
|
||||
// and will be used for tenancy db connection
|
||||
// We're removing the username and password because user with these credentials is not created yet
|
||||
unset($config['username']);
|
||||
unset($config['password']);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue