From 71104558b74fdce4a061b518dfa19459f83dc911 Mon Sep 17 00:00:00 2001 From: Jake Wright Date: Fri, 8 Aug 2014 02:28:33 +0100 Subject: [PATCH] Reset email form value on success closes #3663 - Set value of email input as nil string --- ghost/admin/controllers/forgotten.js | 1 + 1 file changed, 1 insertion(+) diff --git a/ghost/admin/controllers/forgotten.js b/ghost/admin/controllers/forgotten.js index b9bbe0047f..a56ff793d7 100644 --- a/ghost/admin/controllers/forgotten.js +++ b/ghost/admin/controllers/forgotten.js @@ -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');