Make app repos private by default

This commit is contained in:
Joseph Schorr 2017-04-05 14:11:06 -04:00
parent a6954f246c
commit c6b45298ad

View file

@ -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):