Skip to content
Browse files

Added self. This fixes #3

  • Loading branch information...
1 parent cf7d716 commit 4ba87453916956096047ffe0285178f2b7e88e84 @mitsuhiko committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 flaskext/openid.py
View
4 flaskext/openid.py
@@ -378,8 +378,8 @@ def attach_reg_info(self, auth_request, keys):
ax_req.add(ax.AttrInfo(uri, required=key in REQUIRED_KEYS))
auth_request.addExtension(ax_req)
- def errorhandler(f):
- """Called if an error occours with the message. By default
+ def errorhandler(self, f):
+ """Called if an error occurs with the message. By default
``'openid_error'`` is added to the session so that :meth:`fetch_error`
can fetch that error from the session. Alternatively it makes sense
to directly flash the error for example::

0 comments on commit 4ba8745

Please sign in to comment.
Something went wrong with that request. Please try again.