Skip to content

user signout on unmount #87

@clairefro

Description

@clairefro

[Question]
I see in the code that window.Intercom('shutdown') is called in componentWillReceiveProps() and componentWillUnmount(), however the session seems to persist when leaving the website and coming back. I also tried deleting cookies.

How can we ensure a session gets closed when user leaves the webpage?

(thanks for this package by the way, it's awesome!)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions