From f416775268085c7fb7f90cf54ea2149267b960e6 Mon Sep 17 00:00:00 2001 From: Julian Hurst Date: Wed, 25 Jan 2023 01:23:58 +0100 Subject: Add user impersonation support for admins --- templates/user.html | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'templates/user.html') diff --git a/templates/user.html b/templates/user.html index cd0d98c..9a3a333 100644 --- a/templates/user.html +++ b/templates/user.html @@ -5,11 +5,19 @@ {{if .Error}}

{{.Error}}

{{end}} + {{if ne .UserImpersonation ""}} +
+ {{else}} + {{end}}
+ {{if ne .UserImpersonation ""}} +
+ {{else}} + {{end}}
@@ -39,7 +47,11 @@
+ {{if ne .UserImpersonation ""}} + + {{else}} + {{end}} {{end}} -- cgit v1.2.3