fix: logs user in after registration

This commit is contained in:
2025-05-16 08:17:00 -05:00
parent 2c31485964
commit c4f416af37
8 changed files with 65 additions and 72 deletions

View File

@@ -8,9 +8,9 @@ use OneToMany\RichBundle\Contract\CommandInterface;
class RegisterUserCommand implements CommandInterface
{
public function __construct(
public string $name,
public string $email,
public string $username,
public string $password,
public ?string $name = null,
public ?string $email = null,
public ?string $username = null,
public ?string $password = null,
) {}
}