aboutsummaryrefslogtreecommitdiffstats
path: root/routers
diff options
context:
space:
mode:
author6543 <6543@obermui.de>2022-01-05 07:27:53 +0100
committerGitHub <noreply@github.com>2022-01-05 07:27:53 +0100
commit0572c78938d3d8287f81f53effc7ffaacd75d3e7 (patch)
tree7dc1e9d29732332490d5a81c16c5e60cc90616a9 /routers
parent6da078d61690816643f082b2230c0842660bbf4c (diff)
downloadgitea-0572c78938d3d8287f81f53effc7ffaacd75d3e7.tar.gz
gitea-0572c78938d3d8287f81f53effc7ffaacd75d3e7.zip
refactoring nits (#18188)
* no octal for time values * rm artifact from refactoring Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Diffstat (limited to 'routers')
-rw-r--r--routers/web/web.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/routers/web/web.go b/routers/web/web.go
index 2796904cee..e35ccb5aab 100644
--- a/routers/web/web.go
+++ b/routers/web/web.go
@@ -189,7 +189,6 @@ func RegisterRoutes(m *web.Route) {
ignSignInAndCsrf := context.Toggle(&context.ToggleOptions{DisableCSRF: true})
reqSignOut := context.Toggle(&context.ToggleOptions{SignOutRequired: true})
- //bindIgnErr := binding.BindIgnErr
bindIgnErr := web.Bind
validation.AddBindingRules()