Remove server_tokens setting

Revert this if we decide this is a security issue, but we report the version through the API as well
This commit is contained in:
Will Starms
2019-10-17 13:43:28 -05:00
parent 8c1620e6c5
commit 2cac46fdb2
4 changed files with 4 additions and 20 deletions

View File

@@ -423,7 +423,6 @@ class AdminHandler(BaseHandler):
sort={s: o for s, o in zip(sorts, orders)},
allow_named_servers=self.allow_named_servers,
named_server_limit_per_user=self.named_server_limit_per_user,
server_tokens=self.settings.get('server_tokens', True),
server_version='{} {}'.format(__version__, self.version_hash),
)
self.finish(html)