Commit cb7c30fe684c79f6f82493a56239686657be523b

Authored by Leonardo Merlin
1 parent 41c3df86

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 119 encodedData += '&password_confirmation=' + data.newPasswordConfirmation;
120 120  
121 121 return $http
122   - .patch(url, encodedData)
  122 + .patch(url + '?' + encodedData)
123 123 .then(function(response) {
124 124 $log.debug('AuthService.changePassword [SUCCESS] response', response);
125 125  
... ...