Skip to content

Commit 653c2a6

Browse files
author
Bohdan Korablov
committed
MAGECLOUD-1413: Gzip fails with exception when directory on file name contains spaces
1 parent c316229 commit 653c2a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Util/PasswordGenerator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public function generateRandomPassword(int $length = 20) : string
3737
while (true) {
3838
$password = $this->generateRandomString($length);
3939
/* http://docs.magento.com/m2/ee/user_guide/stores/admin-signin.html
40-
* An Admin password must be seven or more characters long, and include both letters and numbers.
40+
* An Admin password must be seven or more characters long, and include both letters and numbers.
4141
*/
4242
if (( preg_match('/.*[A-Za-z].*/', $password) ) && ( preg_match('/.*[\d].*/', $password) )) {
4343
return $password;

0 commit comments

Comments
 (0)