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 <brecht@blender.org>
This commit is contained in:
Yarden ShohamandBrecht Van Lommel authored and GitHub committed 2023-02-20 19:14:39 -05:00
1 parent 4c7786b3b6
commit 660a83bd2e
1 file changed
+2
+2
View File
@@ -39,6 +39,7 @@
</div>
</div>
<div class="ui two wide column center">
{{if $.IsOrganizationOwner}}
<div class="meta">
{{$.locale.Tr "admin.users.2fa"}}
</div>
@@ -51,6 +52,7 @@
{{end}}
</strong>
</div>
{{end}}
</div>
{{end}}
<div class="ui three wide column">