1
0
Fork 0
forked from forgejo/forgejo

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") {