diff --git a/notebook/templates/logout.html b/notebook/templates/logout.html index 289ac89f8..3a58875c2 100644 --- a/notebook/templates/logout.html +++ b/notebook/templates/logout.html @@ -1,5 +1,12 @@ {% extends "page.html" %} +{# This template is rendered in response to an authenticated request, so the + user is technically logged in. But when the user sees it, the cookie is + cleared by the Javascript, so we should render this as if the user was logged + out, without e.g. authentication tokens. +#} +{% set logged_in = False %} + {% block stylesheet %} {{super()}}