diff --git a/routers/web/user/profile.go b/routers/web/user/profile.go
index 4c6fe605b7..e3046e48d1 100644
--- a/routers/web/user/profile.go
+++ b/routers/web/user/profile.go
@@ -314,6 +314,5 @@ func Action(ctx *context.Context) {
 		})
 		return
 	}
-
-	ctx.JSONOK()
+	ctx.RedirectToFirst(ctx.FormString("redirect_to"), ctx.ContextUser.HomeLink())
 }