Mercurial > libervia-web
diff libervia/pages/blog/view/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 | 469d0de8da0e |
children | 67ec22356457 |
line wrap: on
line diff
--- a/libervia/pages/blog/view/page_meta.py Fri May 03 13:08:41 2019 +0200 +++ b/libervia/pages/blog/view/page_meta.py Fri May 03 20:51:22 2019 +0200 @@ -287,7 +287,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'comment': service, node, body = self.getPostedData(request, (u'service', u'node', u'body'))