diff --git a/src/auth.js b/src/auth.js index 864e9c5..78303b0 100644 --- a/src/auth.js +++ b/src/auth.js @@ -286,9 +286,9 @@ devise.provider('Auth', function AuthProvider() { * @returns {Promise} A $http promise that will be resolved or * rejected by the server. */ - sendResetPasswordInstructions: function(creds) { + sendResetPasswordInstructions: function(creds, config) { creds = creds || {}; - return $http(httpConfig('sendResetPasswordInstructions', creds)) + return $http(httpConfig('sendResetPasswordInstructions', creds, config)) .then(service.parse) .then(broadcast('send-reset-password-instructions-successfully')); },