Skip to content

Cookie doesn't get removed if using topLevelDomain #66

@louiszuckerman

Description

@louiszuckerman

Looks like $cookies.remove() needs to be called with the domain when a domain is used on $cookies.put().

Using angular 1.5.11 and angular-jwt-auth 4.0.13.

Tested on chrome & firefox, latest versions, on MacOS Sierra.

After logging out the cookie hangs around until it expires. Even when logging in as a new user, the old cookie remains until it expires and gets refreshed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions