2017-07-25 23:05:46 +02:00
|
|
|
{% if session %}
|
2017-07-26 11:11:54 +02:00
|
|
|
<p>Hello, {{session['display_name']}}! <a href="/logout">Log out</a></p>
|
|
|
|
<p><code>{{session}}</code></p>
|
2017-07-25 23:05:46 +02:00
|
|
|
{% else %}
|
2017-07-26 11:11:54 +02:00
|
|
|
<p>Hello, stranger! <a href="/login/twitter">Log in with Twitter</a></p>
|
2017-07-25 23:05:46 +02:00
|
|
|
{% endif %}
|