mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-18 03:25:31 -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"), {
|
return Discourse.ajax(Discourse.getURL("/session/forgot_password"), {
|
||||||
dataType: 'json',
|
dataType: 'json',
|
||||||
data: {
|
data: {
|
||||||
username: this.get('username')
|
login: this.get('username')
|
||||||
},
|
},
|
||||||
type: 'POST'
|
type: 'POST'
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue