mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-03 23:00:14 -05:00
Merge pull request #6425 from halfdan/6423-fix
Correctly use POST request to reset password
This commit is contained in:
commit
eeb9250d3c
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ export default Controller.extend(ValidationEngine, {
|
||||||
let forgottenUrl = this.get('ghostPaths.url').api('authentication', 'passwordreset');
|
let forgottenUrl = this.get('ghostPaths.url').api('authentication', 'passwordreset');
|
||||||
this.toggleProperty('submitting');
|
this.toggleProperty('submitting');
|
||||||
|
|
||||||
this.get('ajax').put(forgottenUrl, {
|
this.get('ajax').post(forgottenUrl, {
|
||||||
data: {
|
data: {
|
||||||
passwordreset: [{email}]
|
passwordreset: [{email}]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue