Referente ao curso Node.js e JWT: autenticação com tokens
{ "erro": "senhaHash is not defined" }
Aparentemente a variável senhaHash não foi definida.