diff --git a/app/assets/javascripts/discourse/models/user.js b/app/assets/javascripts/discourse/models/user.js index 77b1dd3aef0..1280da916b9 100644 --- a/app/assets/javascripts/discourse/models/user.js +++ b/app/assets/javascripts/discourse/models/user.js @@ -166,7 +166,7 @@ Discourse.User = Discourse.Model.extend({ return Discourse.ajax(Discourse.getURL("/session/forgot_password"), { dataType: 'json', data: { - username: this.get('username') + login: this.get('username') }, type: 'POST' });