Skip to content

Commit 95c24f7

Browse files
authored
Default spaces=false when generating passwords (#46098)
1 parent 88b703b commit 95c24f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Illuminate/Support/Str.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -731,7 +731,7 @@ public static function pluralStudly($value, $count = 2)
731731
* @param bool $spaces
732732
* @return string
733733
*/
734-
public static function password($length = 32, $letters = true, $numbers = true, $symbols = true, $spaces = true)
734+
public static function password($length = 32, $letters = true, $numbers = true, $symbols = true, $spaces = false)
735735
{
736736
$characters = [];
737737

0 commit comments

Comments
 (0)