diff --git a/framework/core/src/Core/Command/RegisterUserHandler.php b/framework/core/src/Core/Command/RegisterUserHandler.php index c7daf38fa..ab1d04505 100644 --- a/framework/core/src/Core/Command/RegisterUserHandler.php +++ b/framework/core/src/Core/Command/RegisterUserHandler.php @@ -116,9 +116,7 @@ class RegisterUserHandler // from the get-go. if (isset($token)) { foreach ($token->payload as $k => $v) { - if (in_array($user->$k, ['', null], true)) { - $user->$k = $v; - } + $user->$k = $v; } if (isset($token->payload['email'])) {