We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ba7b17 commit 0f0fe84Copy full SHA for 0f0fe84
notebook/base/handlers.py
@@ -124,8 +124,10 @@ def clear_login_cookie(self):
124
path = cookie_options.setdefault('path', self.base_url)
125
self.clear_cookie(self.cookie_name, path=path)
126
if path and path != '/':
127
- # also clear cookie on / to ensure old cookies
128
- # are cleared after the change in path behavior.
+ # also clear cookie on / to ensure old cookies are cleared
+ # after the change in path behavior (changed in notebook 5.2.2).
129
+ # N.B. This bypasses the normal cookie handling, which can't update
130
+ # two cookies with the same name. See the method above.
131
self.force_clear_cookie(self.cookie_name)
132
133
def get_current_user(self):
0 commit comments