mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-14 22:16:14 +01:00
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>
(cherry picked from commit 660a83bd2e
)
This commit is contained in:
parent
68f009f329
commit
c19a5e6bc0
1 changed files with 2 additions and 0 deletions
|
@ -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 a new issue