We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1bfcc1f commit 6bfc1daCopy full SHA for 6bfc1da
app/templates/client/components/auth(auth)/auth.service(coffee).coffee
@@ -73,8 +73,8 @@ angular.module '<%= scriptAppName %>'
73
oldPassword: oldPassword
74
newPassword: newPassword
75
76
- , (user) ->
77
- callback? null, user
+ , () ->
+ callback? null
78
79
, (err) ->
80
callback? err
app/templates/client/components/auth(auth)/auth.service(js).js
@@ -84,8 +84,8 @@ angular.module('<%= scriptAppName %>')
84
return User.changePassword({ id: currentUser._id }, {
85
oldPassword: oldPassword,
86
87
- }, function(user) {
88
- return safeCb(callback)(null, user);
+ }, function() {
+ return safeCb(callback)(null);
89
}, function(err) {
90
return safeCb(callback)(err);
91
}).$promise;
0 commit comments