Merge pull request #2672 from takluyver/logout-not-logged-in

Render the logout page without auth tokens
pull/2675/head
Min RK 9 years ago committed by GitHub
commit 2a08debd18

@ -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()}}
<link rel="stylesheet" href="{{ static_url("auth/css/override.css") }}" type="text/css" />

Loading…
Cancel
Save