ramp down "Forgot password" disable down to 5 seconds.
This commit is contained in:
parent
50b75084bd
commit
3faa220dbc
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue