mirror of
https://github.com/go-gitea/gitea
synced 2025-01-03 14:34:30 +00:00
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.
This commit is contained in:
parent
d845be661f
commit
a82b9016c3
@ -39,6 +39,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="ui two wide column center">
|
<div class="ui two wide column center">
|
||||||
|
{{if $.IsOrganizationOwner}}
|
||||||
<div class="meta">
|
<div class="meta">
|
||||||
{{$.locale.Tr "admin.users.2fa"}}
|
{{$.locale.Tr "admin.users.2fa"}}
|
||||||
</div>
|
</div>
|
||||||
@ -51,6 +52,7 @@
|
|||||||
{{end}}
|
{{end}}
|
||||||
</strong>
|
</strong>
|
||||||
</div>
|
</div>
|
||||||
|
{{end}}
|
||||||
</div>
|
</div>
|
||||||
{{end}}
|
{{end}}
|
||||||
<div class="ui three wide column">
|
<div class="ui three wide column">
|
||||||
|
Loading…
Reference in New Issue
Block a user