Commit 8ea01a1c1a51100b5f92f91f8930bc10a16d1030

Authored by Victor Costa
1 parent 9a16a9d2

Do not login when change password

Showing 1 changed file with 0 additions and 1 deletions   Show diff stats
@@ -1412,7 +1412,6 @@ define(['jquery', 'handlebars', 'fastclick', 'proposal_app', 'handlebars_helpers @@ -1412,7 +1412,6 @@ define(['jquery', 'handlebars', 'fastclick', 'proposal_app', 'handlebars_helpers
1412 var $message = $newPasswordForm.siblings('#login-form').find('.message-success'); 1412 var $message = $newPasswordForm.siblings('#login-form').find('.message-success');
1413 $message.html('Senha alterada com sucesso.'); 1413 $message.html('Senha alterada com sucesso.');
1414 $message.show(); 1414 $message.show();
1415 - Main.loginCallback(data.activated, data.private_token, data);  
1416 window.location.hash = '/'; 1415 window.location.hash = '/';
1417 }).fail(function() { 1416 }).fail(function() {
1418 var $message = $newPasswordForm.find('.message'); 1417 var $message = $newPasswordForm.find('.message');