Skip to content

Commit e00aee2

Browse files
committed
Internal: Set empty string as default password for user entity - refs BT#22957
1 parent e9e739b commit e00aee2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CoreBundle/Entity/User.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ class User implements UserInterface, EquatableInterface, ResourceInterface, Reso
256256
protected ?string $plainPassword = null;
257257

258258
#[ORM\Column(name: 'password', type: 'string', length: 255)]
259-
protected string $password;
259+
protected string $password = '';
260260

261261
#[ORM\Column(name: 'username_canonical', type: 'string', length: 180)]
262262
protected string $usernameCanonical;

0 commit comments

Comments
 (0)