Merge branch 'orgs' of ssh://bitbucket.org/yackob03/quay into orgs
Conflicts: static/partials/new-organization.html
This commit is contained in:
commit
9f1bf1499d
9 changed files with 123 additions and 50 deletions
|
@ -120,6 +120,10 @@ def convert_user_to_organization():
|
|||
error_resp.status_code = 400
|
||||
return error_resp
|
||||
|
||||
# Subscribe the organization to the new plan.
|
||||
plan = convert_data['plan']
|
||||
subscribe(user, plan, None, BUSINESS_PLANS)
|
||||
|
||||
# Convert the user to an organization.
|
||||
model.convert_user_to_organization(user, model.get_user(admin_username))
|
||||
|
||||
|
|
Reference in a new issue