#1984 Better mirror repo management
This commit is contained in:
parent
1cbd4c01fb
commit
120cd4e471
16 changed files with 128 additions and 60 deletions
|
@ -116,6 +116,7 @@ func Toggle(options *ToggleOptions) macaron.Handler {
|
|||
ctx.Handle(500, "AutoSignIn", err)
|
||||
return
|
||||
} else if succeed {
|
||||
log.Trace("Auto-login succeed: %s", ctx.Session.Get("uname"))
|
||||
ctx.Redirect(setting.AppSubUrl + ctx.Req.RequestURI)
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue