From c19a5e6bc07289b67147746c1232d000a673b073 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 (cherry picked from commit 660a83bd2ec1be02ca6eea7a84346f6cd1a31fce) --- 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 b4f788e523..8e03ef82ba 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}}