Mercurial > libervia-web
diff libervia/pages/g/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 | bfbfe04209e9 |
line wrap: on
line diff
--- a/libervia/pages/g/page_meta.py Fri May 03 13:08:41 2019 +0200 +++ b/libervia/pages/g/page_meta.py Fri May 03 20:51:22 2019 +0200 @@ -60,7 +60,7 @@ try: data = yield self.host.bridgeCall("invitationGet", invitation_id) except Exception: - self.pageError(request, C.HTTP_UNAUTHORIZED) + self.pageError(request, C.HTTP_FORBIDDEN) else: guest_session.id = invitation_id guest_session.data = data