From 660a83bd2ec1be02ca6eea7a84346f6cd1a31fce Mon Sep 17 00:00:00 2001 From: Yarden Shoham Date: Tue, 21 Feb 2023 02:14:39 +0200 Subject: [PATCH] Hide 2FA status from other members in organization members list (#22999) (#23023) Backport #22999 This is rather private information that should not be given to all members in the same organization. Only show it to organization owners. Co-authored-by: Brecht Van Lommel --- 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 fceb080134..176de69e5a 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}}