Skip to content

Commit

Permalink
calls callback also on success (#3690)
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasspiesser authored and rodrigok committed Jul 6, 2016
1 parent 6fd1f15 commit a79af9d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/rocketchat-iframe-login/iframe_client.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,7 @@ class IframeLogin {
token: token
}],
userCallback: (err) => {
if (err) {
callback(err);
}
callback(err);
}
});
}
Expand Down

0 comments on commit a79af9d

Please sign in to comment.