| |
@@ -59,10 +59,10 @@
|
| |
request = self._parse_request(**kwargs)
|
| |
return self._openid_checks(request, form, **kwargs)
|
| |
except InvalidRequest as e:
|
| |
- raise cherrypy.HTTPError(e.code, e.message)
|
| |
+ raise cherrypy.HTTPError(e.statuscode, e.message)
|
| |
except UnauthorizedRequest as e:
|
| |
if request is None:
|
| |
- raise cherrypy.HTTPError(e.code, e.message)
|
| |
+ raise cherrypy.HTTPError(e.statuscode, e.message)
|
| |
return self._respond(request.answer(False))
|
| |
|
| |
# get attributes, and apply policy mapping and filtering
|
| |
Fix some errors such as: