|
|
|
@@ -63,7 +63,7 @@ func HandleOrgAssignment(ctx *Context, args ...bool) { |
|
|
|
org := ctx.Org.Organization |
|
|
|
ctx.Data["Org"] = org |
|
|
|
|
|
|
|
ctx.Data["IsCourse"] = orgName == setting.Course.OrgName |
|
|
|
ctx.Data["IsCourse"] = ctx.Org.Organization.Name == setting.Course.OrgName |
|
|
|
|
|
|
|
// Force redirection when username is actually a user. |
|
|
|
if !org.IsOrganization() { |
|
|
|
|