1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-08-31 18:31:01 +00:00

Do not display users links on sessions page

This commit is contained in:
Frédéric Guillot 2018-01-05 18:07:15 -08:00
parent 19494742ff
commit a52359fedb
2 changed files with 6 additions and 2 deletions

View file

@ -10,12 +10,14 @@
<li>
<a href="{{ route "integrations" }}">{{ t "Integrations" }}</a>
</li>
{{ if .user.IsAdmin }}
<li>
<a href="{{ route "users" }}">{{ t "Users" }}</a>
</li>
<li>
<a href="{{ route "createUser" }}">{{ t "Add user" }}</a>
</li>
{{ end }}
</ul>
</section>