1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-05-11 05:55:29 +00:00

Finish new home page of organization

This commit is contained in:
Unknwon
2014-08-10 20:11:18 -07:00
parent 7af7584d25
commit 5fbf8531e6
27 changed files with 445 additions and 142 deletions

View File

@ -5,7 +5,6 @@
package middleware
import (
"fmt"
"net/url"
"strings"
@ -44,7 +43,6 @@ func Toggle(options *ToggleOptions) macaron.Handler {
}
if options.SignInRequire {
fmt.Println(ctx.User.IsActive, setting.Service.RegisterEmailConfirm)
if !ctx.IsSigned {
// Ignore watch repository operation.
if strings.HasSuffix(ctx.Req.RequestURI, "watch") {