diff --git a/app/assets/javascripts/discourse/models/user.js b/app/assets/javascripts/discourse/models/user.js index 77b1dd3ae..1280da916 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' });