From 7c278d7c7f58b03ea808643f638b593415d30b13 Mon Sep 17 00:00:00 2001 From: roschaefer Date: Fri, 8 Nov 2019 17:30:29 +0100 Subject: [PATCH] fix: send 403 if you try to edit another's post This also fixes the glitch that you click on "Edit post" and the contribution form is empty. --- webapp/pages/post/edit/_id.vue | 50 ++++++++++++++++------------------ 1 file changed, 23 insertions(+), 27 deletions(-) diff --git a/webapp/pages/post/edit/_id.vue b/webapp/pages/post/edit/_id.vue index 432dc484f..a85ba274a 100644 --- a/webapp/pages/post/edit/_id.vue +++ b/webapp/pages/post/edit/_id.vue @@ -10,41 +10,37 @@