Make authorization required for serving static files is 'users' param is in configuration.

pull/7/head
Ferry Boender 10 years ago
parent 9cc8ffb841
commit d5c381e2fc
  1. 3
      src/scriptform.py

@ -1014,6 +1014,9 @@ class ScriptFormWebApp(WebAppHandler):
def h_static(self, fname):
"""Serve static files"""
if not self.auth():
return
form_config = self.scriptform.get_form_config()
if not form_config.static_dir:

Loading…
Cancel
Save