mirror of
https://github.com/go-gitea/gitea
synced 2025-07-14 22:47:21 +00:00
Finish organization homepage
This commit is contained in:
@ -83,6 +83,12 @@ func Profile(ctx *middleware.Context, params martini.Params) {
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
if u.IsOrganization() {
|
||||
ctx.Redirect("/org/" + u.Name)
|
||||
return
|
||||
}
|
||||
|
||||
// For security reason, hide e-mail address for anonymous visitors.
|
||||
if !ctx.IsSigned {
|
||||
u.Email = ""
|
||||
|
Reference in New Issue
Block a user