mirror of
https://github.com/discourse/discourse.git
synced 2024-11-28 03:33:58 -06: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
@ -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 New Issue
Block a user