1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 19:04:02 +00:00

improve comments

This commit is contained in:
Abrar Ahmad 2022-09-29 17:04:39 +05:00
parent f97651e16b
commit 7f6166d49a

View file

@ -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']);
}