Skip to content

Commit 6aa7e7d

Browse files
update
1 parent 133f472 commit 6aa7e7d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

web/Modules/Microweber/Listeners/DomainIsCreatedListener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public function handle(DomainIsCreated $event): void
5858

5959
try {
6060

61-
$databaseUserPassword = Str::random(8);
61+
$databaseUserPassword = Str::password(24);
6262
$databaseName = $databaseUsername = 'mw'.time();
6363

6464
$hss = new HostingSubscriptionService($findDomain->hosting_subscription_id);

web/tests/Unit/HostingSubscriptionCreateTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ function test_create()
208208
$newDatabaseUser = new DatabaseUser();
209209
$newDatabaseUser->database_id = $newDatabase->id;
210210
$newDatabaseUser->username = 'pput'.$randId;
211-
$newDatabaseUser->password = Str::password(15);
211+
$newDatabaseUser->password = Str::password(24);
212212
$newDatabaseUser->save();
213213
}
214214

0 commit comments

Comments
 (0)