ramp down "Forgot password" disable down to 5 seconds.

This commit is contained in:
Sam 2014-12-05 09:56:46 +11:00
parent 50b75084bd
commit 3faa220dbc

View file

@ -46,7 +46,7 @@ export default DiscourseController.extend(ModalFunctionality, {
}).then(success, fail).finally(function(){ }).then(success, fail).finally(function(){
setTimeout(function(){ setTimeout(function(){
self.set('disabled',false); self.set('disabled',false);
}, 10*1000); }, 5*1000);
}); });
return false; return false;