Correctly use POST request to reset password

closes #6423
This commit is contained in:
Fabian Becker 2016-02-02 12:58:39 +01:00
parent 6fd4e43cc5
commit 1a7a763c9f

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}]
}