We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8c4fc9 commit 48c40c6Copy full SHA for 48c40c6
modules/context/org.go
@@ -69,12 +69,6 @@ func HandleOrgAssignment(ctx *Context, args ...bool) {
69
org := ctx.Org.Organization
70
ctx.Data["Org"] = org
71
72
- // Force redirection when username is actually a user.
73
- if org.Type != models.UserTypeOrganization {
74
- ctx.Redirect(org.AsUser().HomeLink())
75
- return
76
- }
77
-
78
// Admin has super access.
79
if ctx.IsSigned && ctx.User.IsAdmin {
80
ctx.Org.IsOwner = true
0 commit comments