Authored by xuqi

clear passpord when login unsuccess

@@ -285,7 +285,7 @@ $('#login-btn').on('click', function() { @@ -285,7 +285,7 @@ $('#login-btn').on('click', function() {
285 } 285 }
286 } else { 286 } else {
287 $passwordTip.removeClass('hide').children('em').html(data.message); 287 $passwordTip.removeClass('hide').children('em').html(data.message);
288 - $password.addClass('error'); 288 + $password.addClass('error').val('');
289 } 289 }
290 }, 290 },
291 complete: function() { 291 complete: function() {