Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't clear login cookie on requests without cookie
Clearing the secure cookie makes sense when it is invalid or expired, but clearing it when it's not sent with a request can unexpectedly log the user out. I ran into this with misconstructed URLs which didn't incorporate base_url. That was itself a bug, but the result of suddenly being unauthenticated makes it harder to track down. Closes jupytergh-3365 (hopefully) Possibly also relevant to jupytergh-2396 I'm not sure why this seems to affect Firefox more than Chrome.
- Loading branch information