diff --git a/src/Database/DatabaseConfig.php b/src/Database/DatabaseConfig.php index 7e817649..0d6cd6b1 100644 --- a/src/Database/DatabaseConfig.php +++ b/src/Database/DatabaseConfig.php @@ -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']); }