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:
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');
|
||||
this.toggleProperty('submitting');
|
||||
|
||||
this.get('ajax').put(forgottenUrl, {
|
||||
this.get('ajax').post(forgottenUrl, {
|
||||
data: {
|
||||
passwordreset: [{email}]
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue