Mercurial > libervia-web
diff libervia/pages/forums/topics/page_meta.py @ 1173:0f37b65fe7c2
server: replaced wrong usage of C.HTTP_UNAUTHORIZED by C.HTTP_FORBIDDEN
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 03 May 2019 20:51:22 +0200 |
parents | 29eb15062416 |
children | b2d067339de3 |
line wrap: on
line diff
--- a/libervia/pages/forums/topics/page_meta.py Fri May 03 13:08:41 2019 +0200 +++ b/libervia/pages/forums/topics/page_meta.py Fri May 03 20:51:22 2019 +0200 @@ -46,7 +46,7 @@ def on_data_post(self, request): profile = self.getProfile(request) if profile is None: - self.pageError(request, C.HTTP_UNAUTHORIZED) + self.pageError(request, C.HTTP_FORBIDDEN) type_ = self.getPostedData(request, u"type") if type_ == u"new_topic": service, node, title, body = self.getPostedData(