debug redirect issue
This commit is contained in:
@@ -141,10 +141,16 @@
|
|||||||
|
|
||||||
// Set user in sentry
|
// Set user in sentry
|
||||||
Sentry.setUser($profile);
|
Sentry.setUser($profile);
|
||||||
// Set user in Mixpanel
|
if (config.isProd) {
|
||||||
mixpanel.identify($profile.email);
|
// Set user in Mixpanel
|
||||||
|
mixpanel.identify($profile.email);
|
||||||
|
}
|
||||||
|
|
||||||
const orgRes = await getOrganizations($profile.id);
|
const orgRes = await getOrganizations($profile.id);
|
||||||
|
console.log('orgRes', orgRes);
|
||||||
|
console.log('$appStore.isStudentDomain', $appStore.isStudentDomain);
|
||||||
|
console.log('isEmpty(orgRes.orgs)', isEmpty(orgRes.orgs));
|
||||||
|
console.log('path', path);
|
||||||
|
|
||||||
// student redirect
|
// student redirect
|
||||||
if ($appStore.isStudentDomain) {
|
if ($appStore.isStudentDomain) {
|
||||||
|
|||||||
Reference in New Issue
Block a user