diff --git a/templates/registration.html b/templates/registration.html index 01214d2..fd8efd6 100644 --- a/templates/registration.html +++ b/templates/registration.html @@ -27,10 +27,22 @@
-
Войти
+ {% if current_user.is_authenticated %} +

{{ + current_user.username }}

+ + {% else %} +
Войти
+ {% endif %}