Commit ff27dd81fcc192bc63a88c6c85b72e8c8f98f1fa

Authored by Evandro Junior
1 parent ccb09c23

Hint for error message

Showing 1 changed file with 2 additions and 1 deletions   Show diff stats
js/main.js
... ... @@ -1456,7 +1456,8 @@ define(['jquery', 'handlebars', 'fastclick', 'proposal_app', 'handlebars_helpers
1456 1456 $message.html('Verifique seu email para efetuar a troca da senha.');
1457 1457 $message.show();
1458 1458 }).fail(function(data) {
1459   - console.log(data);
  1459 + console.log(data.responseJSON);
  1460 +
1460 1461 Main.reloadCaptcha($forgotPasswordForm.find('#serpro_captcha')[0]);
1461 1462 var $message = $forgotPasswordForm.find('.message');
1462 1463 $message.html('Não foi possível requisitar a troca de senha para os dados informados.');
... ...