diff options
author | Rodney Ewing <ewing.rj@gmail.com> | 2013-06-04 07:58:17 -0700 |
---|---|---|
committer | Rodney Ewing <ewing.rj@gmail.com> | 2013-06-04 07:58:17 -0700 |
commit | 1bce0c15ba97995ba7772296ab698b36a7dc41ca (patch) | |
tree | 6e4acccd45e1237ff104e6a3a9a54ee3855bd85b /mediagoblin/app.py | |
parent | e784d10d2e8b8f9f7a5980883553766ce9bfaf6c (diff) | |
download | mediagoblin-1bce0c15ba97995ba7772296ab698b36a7dc41ca.tar.lz mediagoblin-1bce0c15ba97995ba7772296ab698b36a7dc41ca.tar.xz mediagoblin-1bce0c15ba97995ba7772296ab698b36a7dc41ca.zip |
minor changes from aaronw's review
Diffstat (limited to 'mediagoblin/app.py')
-rw-r--r-- | mediagoblin/app.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mediagoblin/app.py b/mediagoblin/app.py index 982e570c..ecd3de0e 100644 --- a/mediagoblin/app.py +++ b/mediagoblin/app.py @@ -100,6 +100,8 @@ class MediaGoblinApp(object): # Check if authentication plugin is enabled and respond accordingly. self.auth = check_auth_enabled() + if not self.auth: + app_config['allow_comments'] = False # Set up storage systems self.public_store, self.queue_store = setup_storage() |