Merge pull request #772 from Merp/master

Fix for Issue #756
This commit is contained in:
Sam 2013-04-25 17:52:49 -07:00
commit bb30ccb5db
1 changed files with 1 additions and 1 deletions

View File

@ -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'
});