From 1a7a763c9fa8dcbfba7f31c7ad98473d689c05a1 Mon Sep 17 00:00:00 2001 From: Fabian Becker Date: Tue, 2 Feb 2016 12:58:39 +0100 Subject: [PATCH] Correctly use POST request to reset password closes #6423 --- core/client/app/controllers/signin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/client/app/controllers/signin.js b/core/client/app/controllers/signin.js index f434597a13..026696b432 100644 --- a/core/client/app/controllers/signin.js +++ b/core/client/app/controllers/signin.js @@ -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}] }