bugfix: call handle_authenticate_response from authentication_handler

Previously was calling handle_authorize_response which was incorrect.
This commit is contained in:
Kyle Mahan 2016-01-26 23:54:40 -08:00
parent c80a1b0fcf
commit cc9c7dfd21
1 changed files with 1 additions and 1 deletions

View File

@ -151,7 +151,7 @@ class MicropubClient:
""" """
@functools.wraps(f) @functools.wraps(f)
def decorated(): def decorated():
resp = self._handle_authorize_response() resp = self._handle_authenticate_response()
return f(resp) return f(resp)
self._authenticated_handler = decorated self._authenticated_handler = decorated
return decorated return decorated