mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-17 19:12:37 -05:00
Bugfix for change password button in user preferences, fixed bad function parameter name passed to forgot_password.
This commit is contained in:
parent
f0d3500ada
commit
71d2903879
1 changed files with 1 additions and 1 deletions
|
@ -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'
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue