Remove email check on web
This commit is contained in:
@@ -45,8 +45,8 @@ export function useAnalytics() {
|
|||||||
export function init(store: RootStoreModel) {
|
export function init(store: RootStoreModel) {
|
||||||
store.onSessionLoaded(() => {
|
store.onSessionLoaded(() => {
|
||||||
const sess = store.session.currentSession
|
const sess = store.session.currentSession
|
||||||
if (sess && sess.did) {
|
if (sess) {
|
||||||
if (sess.email) {
|
if (sess.did) {
|
||||||
const did_hashed = sha256(sess.did)
|
const did_hashed = sha256(sess.did)
|
||||||
segmentClient.identify(did_hashed, {did_hashed})
|
segmentClient.identify(did_hashed, {did_hashed})
|
||||||
store.log.debug('Ping w/hash')
|
store.log.debug('Ping w/hash')
|
||||||
|
|||||||
Reference in New Issue
Block a user