From 1a643be46b8a2a0f67bf78a879f5f749fea59df2 Mon Sep 17 00:00:00 2001 From: Woeler Date: Thu, 25 Jun 2020 13:29:21 +0200 Subject: [PATCH] [BUGFIX] Set email null --- src/Security/KeyCloakUser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Security/KeyCloakUser.php b/src/Security/KeyCloakUser.php index d9e7496..5a1b047 100644 --- a/src/Security/KeyCloakUser.php +++ b/src/Security/KeyCloakUser.php @@ -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;