diff --git a/src/Core/Command/RegisterUserHandler.php b/src/Core/Command/RegisterUserHandler.php index 811215ce9..e477902fa 100644 --- a/src/Core/Command/RegisterUserHandler.php +++ b/src/Core/Command/RegisterUserHandler.php @@ -116,7 +116,7 @@ class RegisterUserHandler // from the get-go. if (isset($token)) { foreach ($token->payload as $k => $v) { - if ($user->$k == '' || ! isset($user->$k)) { + if ($user->$k === '' || ! isset($user->$k)) { $user->$k = $v; } }