Commit cb7c30fe684c79f6f82493a56239686657be523b
1 parent
41c3df86
Exists in
master
and in
4 other branches
Fixes #101. Change data from payload to pure URL param
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/app/components/auth/auth.service.js
@@ -119,7 +119,7 @@ | @@ -119,7 +119,7 @@ | ||
119 | encodedData += '&password_confirmation=' + data.newPasswordConfirmation; | 119 | encodedData += '&password_confirmation=' + data.newPasswordConfirmation; |
120 | 120 | ||
121 | return $http | 121 | return $http |
122 | - .patch(url, encodedData) | 122 | + .patch(url + '?' + encodedData) |
123 | .then(function(response) { | 123 | .then(function(response) { |
124 | $log.debug('AuthService.changePassword [SUCCESS] response', response); | 124 | $log.debug('AuthService.changePassword [SUCCESS] response', response); |
125 | 125 |