1
0
Fork 0
mirror of https://github.com/TryGhost/Ghost-Admin.git synced 2023-12-14 02:33:04 +01:00

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 090e39a3ae
commit 6bee085074

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