mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-29 07:09:48 +03:00
Reset email form value on success
closes #3663 - Set value of email input as nil string
This commit is contained in:
parent
a647e38e5e
commit
71104558b7
@ -27,6 +27,7 @@ var ForgottenController = Ember.Controller.extend(ValidationEngine, {
|
||||
}).then(function (resp) {
|
||||
self.toggleProperty('submitting');
|
||||
self.notifications.showSuccess('Please check your email for instructions.', {delayed: true});
|
||||
self.set('email', '');
|
||||
self.transitionToRoute('signin');
|
||||
}).catch(function (resp) {
|
||||
self.toggleProperty('submitting');
|
||||
|
Loading…
Reference in New Issue
Block a user