📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!
TypeScript chartsclickhousedockergdprgoogle-analyticsmetricsmonitoringmysqlnestjsprivacyredisself-hostedselfhostedstatisticstailwindcssweb-analyticswebanalyticswebsite
update general stats on logout
Blue Mouse477a0e0f6947
diff --git a/src/redux/sagas/auth/watchers/index.js b/src/redux/sagas/auth/watchers/index.jsindex ab2fa558f..0e3cb93b7 100644--- a/src/redux/sagas/auth/watchers/index.js+++ b/src/redux/sagas/auth/watchers/index.js@@ -2,7 +2,7 @@ import { takeLatest, all, call } from 'redux-saga/effects'import { types } from 'redux/actions/auth/types'import signIn from 'redux/sagas/auth/workers/signin'import signUp from 'redux/sagas/auth/workers/signup'-// import logout from 'redux/sagas/auth/workers/logout'+import logout from 'redux/sagas/auth/workers/logout'import verifyEmail from 'redux/sagas/auth/workers/verifyEmail'import updateUserProfile from 'redux/sagas/auth/workers/updateUserProfile'import deleteUserAccount from 'redux/sagas/auth/workers/deleteUserAccount'@@ -19,9 +19,9 @@ function* watchSignup() {yield takeLatest(types.SIGNUP_ASYNC, signUp)}-// function* watchLogout() {-// yield takeLatest(types.LOGOUT, logout)-// }+function* watchLogout() {+ yield takeLatest(types.LOGOUT, logout)+}function* watchUpdateUserProfile() {yield takeLatest(types.UPDATE_USER_PROFILE_ASYNC, updateUserProfile)@@ -35,6 +35,6 @@ export default function* watchAuth() {yield all([call(watchLogin), call(watchSignup), call(watchVerifyEmail),call(watchUpdateUserProfile), call(watchDeleteUserProfile),- // call(watchLogout),+ call(watchLogout),])}