Skip to content

Commit

Permalink
Do not send password resets as a json request
Browse files Browse the repository at this point in the history
  • Loading branch information
imhoffd committed Mar 4, 2016
1 parent 423caff commit 1ffb7d9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/core/user.js
Original file line number Diff line number Diff line change
Expand Up @@ -378,8 +378,7 @@ export class User {

new APIRequest({
'uri': userAPIEndpoints.passwordReset(this),
'method': 'POST',
'json': true
'method': 'POST'
}).then(function(result) {
self.logger.info('password reset for user');
deferred.resolve(result);
Expand Down

0 comments on commit 1ffb7d9

Please sign in to comment.