From cb7c30fe684c79f6f82493a56239686657be523b Mon Sep 17 00:00:00 2001 From: Leonardo Merlin Date: Mon, 11 Jan 2016 15:34:51 -0200 Subject: [PATCH] Fixes #101. Change data from payload to pure URL param --- src/app/components/auth/auth.service.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/components/auth/auth.service.js b/src/app/components/auth/auth.service.js index 8f17cd9..f2339ec 100644 --- a/src/app/components/auth/auth.service.js +++ b/src/app/components/auth/auth.service.js @@ -119,7 +119,7 @@ encodedData += '&password_confirmation=' + data.newPasswordConfirmation; return $http - .patch(url, encodedData) + .patch(url + '?' + encodedData) .then(function(response) { $log.debug('AuthService.changePassword [SUCCESS] response', response); -- libgit2 0.21.2