Add account page and login system

This commit is contained in:
Michał Gdula 2023-05-08 01:00:40 +01:00
parent ebdef07840
commit ffba2b3b7b
11 changed files with 154 additions and 63 deletions

View file

@ -0,0 +1,10 @@
{% extends "base.html" %}
{% block content %}
<h2>Hello, {{ current_user.username }}!</h2>
<a href="{{ url_for('auth.logout') }}">Logout</a>
<h2>Tokens</h2>
{% for token in token_list %}
<p>{{ token.token }}</p>
{% endfor %}
{% endblock %}