Fix the readme to reference the application, update the response code for create repo when no auth credentials are present.

This commit is contained in:
yackob03 2013-12-20 16:21:07 -05:00
parent 867a3e38c1
commit 4ae40b7370
2 changed files with 3 additions and 3 deletions

View file

@ -21,7 +21,7 @@ running:
```
sudo mkdir -p /mnt/nginx/ && sudo nginx -c `pwd`/nginx.conf
STACK=prod gunicorn -c gunicorn_config.py
STACK=prod gunicorn -c gunicorn_config.py application:application
```
start the workers:

View file

@ -134,8 +134,8 @@ def create_repository(namespace, repository):
repo = model.get_repository(namespace, repository)
if not repo and get_authenticated_user() is None:
logger.debug('Attempt to create new repository with token auth.')
abort(400)
logger.debug('Attempt to create new repository without user auth.')
abort(401)
elif repo:
permission = ModifyRepositoryPermission(namespace, repository)