Make app repos private by default
This commit is contained in:
parent
a6954f246c
commit
c6b45298ad
1 changed files with 1 additions and 1 deletions
|
@ -188,7 +188,7 @@ def push(namespace, package_name):
|
|||
raise InvalidUsage()
|
||||
|
||||
values = request.get_json(force=True, silent=True) or {}
|
||||
private = values.get('visibility', 'public')
|
||||
private = values.get('visibility', 'private')
|
||||
|
||||
owner = get_authenticated_user()
|
||||
if not Package.exists(reponame):
|
||||
|
|
Reference in a new issue