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.
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.