Authored by htoooth

change always to then

@@ -949,7 +949,7 @@ $(document).on('click', function(e) { @@ -949,7 +949,7 @@ $(document).on('click', function(e) {
949 mailAc($accountInput1, function() { 949 mailAc($accountInput1, function() {
950 return currentLogin.validateAccountLocal().then(function() { 950 return currentLogin.validateAccountLocal().then(function() {
951 return currentLogin.validateAccountAsync() 951 return currentLogin.validateAccountAsync()
952 - .always(authUntilThreeTimesAsync) 952 + .then(authUntilThreeTimesAsync)
953 .then(showCaptchaImgPic); 953 .then(showCaptchaImgPic);
954 }); 954 });
955 }); 955 });
@@ -958,7 +958,7 @@ mailAc($accountInput1, function() { @@ -958,7 +958,7 @@ mailAc($accountInput1, function() {
958 $accountInput2.on('blur', function() { 958 $accountInput2.on('blur', function() {
959 return currentLogin.validateAccountLocal().then(function() { 959 return currentLogin.validateAccountLocal().then(function() {
960 return currentLogin.validateAccountAsync() 960 return currentLogin.validateAccountAsync()
961 - .always(authUntilThreeTimesAsync) 961 + .then(authUntilThreeTimesAsync)
962 .then(showCaptchaImgPic); 962 .then(showCaptchaImgPic);
963 }); 963 });
964 }); 964 });