diff options
author | 6543 <6543@obermui.de> | 2022-01-05 07:27:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-05 07:27:53 +0100 |
commit | 0572c78938d3d8287f81f53effc7ffaacd75d3e7 (patch) | |
tree | 7dc1e9d29732332490d5a81c16c5e60cc90616a9 /routers/web/web.go | |
parent | 6da078d61690816643f082b2230c0842660bbf4c (diff) | |
download | gitea-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/web/web.go')
-rw-r--r-- | routers/web/web.go | 1 |
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() |