mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-09 03:08:05 +02:00
Finish organization homepage
This commit is contained in:
1 parent
6e448b0714
commit
5dbfe3c26c
9 files changed
+179
-109
No files matched your search
@@ -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