Skip to content

Commit

Permalink
Change: Show 'Manager' instead of 'Login', to obfuscate that cache-ab…
Browse files Browse the repository at this point in the history
…le pages do not show the login status.
  • Loading branch information
frosch123 committed Apr 15, 2020
1 parent f9681a0 commit 8feedf0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions webclient/templates/base.html
Expand Up @@ -18,12 +18,10 @@
<td><a href="/package/scenario">Scenarios</a><br/>
<a href="/package/heightmap">Heightmaps</a></td>
<td>
<a href="/manager">Manager</a><br/>
{% if session and session.is_auth %}
<marquee>{{ session.display_name }}</marquee><br/>
<a href="/manager">Manager</a><br/>
<a href="/logout">Logout</a>
{% else %}
<a href="/login">Login</a>
{% endif %}
</td>
</tr></table>
Expand Down

0 comments on commit 8feedf0

Please sign in to comment.