From a82b9016c363a45c8e43b818b9f6e168e61bd8c8 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Tue, 21 Feb 2023 00:16:29 +0100 Subject: [PATCH] Hide 2FA status from other members in organization members list (#22999) 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}}