Refs Issue #119 replace session with current_user, remove unnecessary href
parent
16d886c0d4
commit
2d0dbc693a
@ -1,7 +1,7 @@ |
|||||||
{% raw %} |
{% raw %} |
||||||
{% extends "layout.html" %} |
{% extends "layout.html" %} |
||||||
{% block content %} |
{% block content %} |
||||||
<h1>Welcome {{ session.username }}</h1> |
<h1>Welcome {{ current_user.username }}</h1> |
||||||
<h3>This is the members-only page.</h3> |
<h3>This is the members-only page.</h3> |
||||||
{% endblock %} |
{% endblock %} |
||||||
{% endraw%} |
{% endraw%} |
||||||
|
Loading…
Reference in new issue