From ba94e96905ccca685a126f46bdf4dec9c1f2fa8f Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Sun, 19 Feb 2023 20:34:41 +0100 Subject: [PATCH] Hide 2FA status from other members in organization members list This is rather private information that should not be given to all members in the same organization. Only show it to organization owners. --- templates/org/member/members.tmpl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/org/member/members.tmpl b/templates/org/member/members.tmpl index b76cb9778f957..0eae60fbfc490 100644 --- a/templates/org/member/members.tmpl +++ b/templates/org/member/members.tmpl @@ -39,6 +39,7 @@
+ {{if $.IsOrganizationOwner}}
{{$.locale.Tr "admin.users.2fa"}}
@@ -51,6 +52,7 @@ {{end}}
+ {{end}} {{end}}