From 2bf8494332592b3c57f9a12a26b9abd356fb3f15 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Fri, 11 Mar 2016 15:33:12 -0500 Subject: #13 finish user and repository search Both are possible on explore and admin panel --- routers/org/org.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'routers/org') diff --git a/routers/org/org.go b/routers/org/org.go index 1257c108..1a7800d9 100644 --- a/routers/org/org.go +++ b/routers/org/org.go @@ -33,7 +33,7 @@ func CreatePost(ctx *context.Context, form auth.CreateOrgForm) { org := &models.User{ Name: form.OrgName, IsActive: true, - Type: models.ORGANIZATION, + Type: models.USER_TYPE_ORGANIZATION, } if err := models.CreateOrganization(org, ctx.User); err != nil { -- cgit v1.2.3