Skip to content

Commit 6ba7b17

Browse files
committed
Only use force_clear_cookie for the extra compatibility piece
1 parent 1fdcd37 commit 6ba7b17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

notebook/base/handlers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ def force_clear_cookie(self, name, path="/", domain=None):
122122
def clear_login_cookie(self):
123123
cookie_options = self.settings.get('cookie_options', {})
124124
path = cookie_options.setdefault('path', self.base_url)
125-
self.force_clear_cookie(self.cookie_name, path=path)
125+
self.clear_cookie(self.cookie_name, path=path)
126126
if path and path != '/':
127127
# also clear cookie on / to ensure old cookies
128128
# are cleared after the change in path behavior.

0 commit comments

Comments
 (0)