diff --git a/src/User/Command/RegisterUserHandler.php b/src/User/Command/RegisterUserHandler.php index fdd95b434..381e3e6a8 100644 --- a/src/User/Command/RegisterUserHandler.php +++ b/src/User/Command/RegisterUserHandler.php @@ -104,9 +104,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'])) {