Merge pull request #1080 from sharetribe/update-sentry-logout

Use proper method for unsetting Sentry user context on logout
This commit is contained in:
Jenni Nurmi 2019-05-07 15:51:47 +03:00 committed by GitHub
commit 68d25e51f2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -43,7 +43,7 @@ export const setUserId = userId => {
export const clearUserId = () => {
Sentry.configureScope(scope => {
scope.remove_user();
scope.setUser(null);
});
};