diff options
author | Vitaly Minko <vitaly.minko@gmail.com> | 2019-09-15 07:33:30 +0300 |
---|---|---|
committer | Vitaly Minko <vitaly.minko@gmail.com> | 2019-09-15 07:33:30 +0300 |
commit | ca7e5449d768235c7c21c884778a012d7338ad58 (patch) | |
tree | d3100f2475f0fe6379cd3d1d6ef0e0aebf30d58a | |
parent | ddd2f80973149efccf7c24dbcad389fb1162b312 (diff) |
Fixed a bug in the Web UI for banning users.
-rw-r--r-- | cmd/dscuss-web/view/oper_ban.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/dscuss-web/view/oper_ban.go b/cmd/dscuss-web/view/oper_ban.go index cacb1ac..218fe23 100644 --- a/cmd/dscuss-web/view/oper_ban.go +++ b/cmd/dscuss-web/view/oper_ban.go @@ -21,7 +21,7 @@ const operBanHTML = ` {{ define "content" }} <h1 id="title">{{ .Common.PageTitle }}</h1> -<form action="/ban" method="POST" enctype="multipart/form-data"> +<form action="/oper/ban" method="POST" enctype="multipart/form-data"> <input type="hidden" name="csrf" value="{{ .Common.CSRF }}"> <input type="hidden" name="id" value="{{ .Target.ID }}"> <table class="form"> |