Merge branch 'release' of https://github.com/appsmithorg/appsmith into release
This commit is contained in:
commit
eea94b9d1e
|
|
@ -78,6 +78,7 @@ export function* getCurrentUserSaga() {
|
|||
|
||||
const isValidResponse = yield validateResponse(response);
|
||||
if (isValidResponse) {
|
||||
AnalyticsUtil.identifyUser(response.data.username, response.data);
|
||||
if (window.location.pathname === BASE_URL) {
|
||||
if (response.data.isAnonymous) {
|
||||
history.replace(AUTH_LOGIN_URL);
|
||||
|
|
|
|||
|
|
@ -175,8 +175,7 @@ class AnalyticsUtil {
|
|||
userData: {
|
||||
userId: userData.id,
|
||||
email: userData.email,
|
||||
currentOrgId: userData.currentOrganization.id,
|
||||
currentOrgName: userData.currentOrganization.name,
|
||||
currentOrgId: userData.currentOrganizationId,
|
||||
appId: appId,
|
||||
appName: app ? app.name : undefined,
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user