From ae10e121875982d6956d6bff453544cc59a75616 Mon Sep 17 00:00:00 2001 From: Gabriel Arakaki Giovanini Date: Tue, 12 Sep 2023 18:37:30 +0200 Subject: feat: Add admin control Now only admins can access settings. --- templates/user.qtpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'templates/user.qtpl') diff --git a/templates/user.qtpl b/templates/user.qtpl index 6ec783d..6fc3ce6 100644 --- a/templates/user.qtpl +++ b/templates/user.qtpl @@ -13,7 +13,7 @@ type UserPage struct { {% func (p *UserPage) Content() %}

Initial Setup

-
+ {% if p.ID != nil %} {% endif %} @@ -41,7 +41,7 @@ type UserPage struct {
- +
-- cgit v1.2.3