浏览代码

Changed default org name form 'main' to 'Main Org.'

Torkel Ödegaard 10 年之前
父节点
当前提交
17063df3cc
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      conf/defaults.ini
  2. 1 1
      pkg/services/sqlstore/user.go

+ 1 - 1
conf/defaults.ini

@@ -78,7 +78,7 @@ auto_assign_org_role = Viewer
 ; enable anonymous access
 ; enable anonymous access
 enabled = false
 enabled = false
 ; specify organization name that should be used for unauthenticated users
 ; specify organization name that should be used for unauthenticated users
-org_name = main
+org_name = Main Org.
 ; specify role for unauthenticated users
 ; specify role for unauthenticated users
 org_role = Viewer
 org_role = Viewer
 
 

+ 1 - 1
pkg/services/sqlstore/user.go

@@ -42,7 +42,7 @@ func getOrgIdForNewUser(userEmail string, sess *session) (int64, error) {
 		if has {
 		if has {
 			return org.Id, nil
 			return org.Id, nil
 		} else {
 		} else {
-			org.Name = "Main org."
+			org.Name = "Main Org."
 			org.Id = 1
 			org.Id = 1
 		}
 		}
 	} else {
 	} else {