mirror of
https://github.com/kingomarnajjar/flex-template-web.git
synced 2026-07-27 09:13:14 +10:00
Merge pull request #1080 from sharetribe/update-sentry-logout
Use proper method for unsetting Sentry user context on logout
This commit is contained in:
commit
68d25e51f2
1 changed files with 1 additions and 1 deletions
|
|
@ -43,7 +43,7 @@ export const setUserId = userId => {
|
|||
|
||||
export const clearUserId = () => {
|
||||
Sentry.configureScope(scope => {
|
||||
scope.remove_user();
|
||||
scope.setUser(null);
|
||||
});
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue