Merge pull request #120 from s0b0lev/issue-119
Refs Issue #119 replace session with current_user, remove unnecessary hrefmaster
commit
f2ac24cb0b
@ -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