Commit 17063df3 by Torkel Ödegaard

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

parent f417d9aa
...@@ -78,7 +78,7 @@ auto_assign_org_role = Viewer ...@@ -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
......
...@@ -42,7 +42,7 @@ func getOrgIdForNewUser(userEmail string, sess *session) (int64, error) { ...@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment