mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
work on #1891
This commit is contained in:
@@ -40,8 +40,9 @@ func SignIn(ctx *middleware.Context) {
|
||||
if redirectTo, _ := url.QueryUnescape(ctx.GetCookie("redirect_to")); len(redirectTo) > 0 {
|
||||
ctx.SetCookie("redirect_to", "", -1, setting.AppSubUrl)
|
||||
ctx.Redirect(redirectTo)
|
||||
} else {
|
||||
ctx.Redirect(setting.AppSubUrl + "/")
|
||||
}
|
||||
ctx.Redirect(setting.AppSubUrl + "/")
|
||||
return
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user