web/application.py
changeset 9659 c45073a96aee
parent 9582 46ed25d38fe2
child 9727 33f6ad4c75a5
child 9876 ff98039cb4cd
--- a/web/application.py	Thu Apr 03 19:55:30 2014 +0200
+++ b/web/application.py	Thu Mar 13 16:57:22 2014 +0100
@@ -480,7 +480,7 @@
         except Unauthorized as ex:
             req.data['errmsg'] = req._('You\'re not authorized to access this page. '
                                        'If you think you should, please contact the site administrator.')
-            req.status_out = httplib.UNAUTHORIZED
+            req.status_out = httplib.FORBIDDEN
             result = self.error_handler(req, ex, tb=False)
         except Forbidden as ex:
             req.data['errmsg'] = req._('This action is forbidden. '