Do not disclose the distro in the admin login page (#9)

This commit is contained in:
David Duque 2021-03-07 20:26:26 +00:00
parent 531e67bcdb
commit 676f3aaf24
2 changed files with 1 additions and 3 deletions

View file

@ -123,8 +123,6 @@ def index():
return render_template('index.html',
hostname=env['PRIMARY_HOSTNAME'],
distname=lsb[lsb.find("\t")+1:-1],
storage_root=env['STORAGE_ROOT'],
no_users_exist=no_users_exist,

View file

@ -170,7 +170,7 @@
<hr>
<footer>
<p>This is a <a href="https://github.com/ddavness/power-mailinabox">Power Mail-in-a-Box</a> - {{distname}}</p>
<p>This is a <a href="https://github.com/ddavness/power-mailinabox">Power Mail-in-a-Box</a>.</p>
</footer>
</div> <!-- /container -->