0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00

Merge pull request #6425 from halfdan/6423-fix

Correctly use POST request to reset password
This commit is contained in:
Hannah Wolfe 2016-02-02 13:09:59 +00:00
commit eeb9250d3c

View file

@ -84,7 +84,7 @@ export default Controller.extend(ValidationEngine, {
let forgottenUrl = this.get('ghostPaths.url').api('authentication', 'passwordreset');
this.toggleProperty('submitting');
this.get('ajax').put(forgottenUrl, {
this.get('ajax').post(forgottenUrl, {
data: {
passwordreset: [{email}]
}