diff options
author | Matthew Fernandez <matthew.fernandez@gmail.com> | 2017-10-26 20:31:21 -0700 |
---|---|---|
committer | Matthew Fernandez <matthew.fernandez@gmail.com> | 2017-10-26 20:31:21 -0700 |
commit | 5fb6a912cd7cb0bcfa4512da5248baad1175faf5 (patch) | |
tree | 3e530e745eb670eb696a39187224721d97ce9dec /libbe/command | |
parent | 6f03fbb005da75cd022e4a0d7eed1df1070b3974 (diff) | |
download | bugseverywhere-5fb6a912cd7cb0bcfa4512da5248baad1175faf5.tar.gz |
remove --auth option from server commands
The implementation of this option contained syntax errors and did not work. For
more information, see https://gitlab.com/bugseverywhere/bugseverywhere/issues/7.
Diffstat (limited to 'libbe/command')
-rw-r--r-- | libbe/command/html.py | 2 | ||||
-rw-r--r-- | libbe/command/serve_commands.py | 5 |
2 files changed, 2 insertions, 5 deletions
diff --git a/libbe/command/html.py b/libbe/command/html.py index 5186417..3dfeb75 100644 --- a/libbe/command/html.py +++ b/libbe/command/html.py @@ -794,7 +794,6 @@ class HTML (libbe.util.wsgi.ServerCommand): if option.name not in [ 'read-only', 'notify', - 'auth', ]] self.options.extend([ @@ -854,7 +853,6 @@ class HTML (libbe.util.wsgi.ServerCommand): # provide defaults for the dropped options params['read-only'] = True params['notify'] = None - params['auth'] = None return super(HTML, self)._run(**params) def _get_app(self, logger, storage, index_file='', generation_time=None, diff --git a/libbe/command/serve_commands.py b/libbe/command/serve_commands.py index 30b4a69..7e8f57e 100644 --- a/libbe/command/serve_commands.py +++ b/libbe/command/serve_commands.py @@ -179,9 +179,8 @@ And in another terminal (or after backgrounding the server):: $ be --server http://localhost:8000/ list If you bind your server to a public interface, take a look at the -``--read-only`` option or the combined ``--ssl --auth FILE`` -options so other people can't mess with your repository. If you do use -authentication, you'll need to send in your username and password:: +``--read-only`` option so other people can't mess with your +repository. $ be --server http://username:password@localhost:8000/ list """ |