aboutsummaryrefslogtreecommitdiff
path: root/routers/user
diff options
context:
space:
mode:
Diffstat (limited to 'routers/user')
-rw-r--r--routers/user/user.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/user/user.go b/routers/user/user.go
index e13f6909..b87076d9 100644
--- a/routers/user/user.go
+++ b/routers/user/user.go
@@ -168,7 +168,7 @@ func Delete(ctx *middleware.Context) {
}
}
- ctx.Render.HTML(200, "user/delete", ctx.Data)
+ ctx.Render.Redirect("/", 302)
}
const (