diff options
Diffstat (limited to 'modules/context/auth.go')
-rw-r--r-- | modules/context/auth.go | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/modules/context/auth.go b/modules/context/auth.go index 00a7032e27..02248384e1 100644 --- a/modules/context/auth.go +++ b/modules/context/auth.go @@ -26,12 +26,6 @@ type ToggleOptions struct { // Toggle returns toggle options as middleware func Toggle(options *ToggleOptions) macaron.Handler { return func(ctx *Context) { - // Cannot view any page before installation. - if !setting.InstallLock { - ctx.Redirect(setting.AppSubURL + "/install") - return - } - isAPIPath := auth.IsAPIPath(ctx.Req.URL.Path) // Check prohibit login users. |