Skip to content

Commit

Permalink
[BUGFIX] Set email null
Browse files Browse the repository at this point in the history
  • Loading branch information
Woeler committed Jun 25, 2020
1 parent 86dd0ab commit 1a643be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Security/KeyCloakUser.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class KeyCloakUser implements UserInterface
private ?string $fullName = null;
private ?string $email = null;

public function __construct(string $username, array $roles, ?string $email, ?string $fullName = null)
public function __construct(string $username, array $roles, ?string $email = null, ?string $fullName = null)
{
$this->username = $username;
$this->roles = $roles;
Expand Down

0 comments on commit 1a643be

Please sign in to comment.