[fix] fixed validation when register an user

Please use a format like `variable == false`