bugfix: call handle_authenticate_response from authentication_handler
Previously was calling handle_authorize_response which was incorrect.
This commit is contained in:
parent
c80a1b0fcf
commit
cc9c7dfd21
|
@ -151,7 +151,7 @@ class MicropubClient:
|
|||
"""
|
||||
@functools.wraps(f)
|
||||
def decorated():
|
||||
resp = self._handle_authorize_response()
|
||||
resp = self._handle_authenticate_response()
|
||||
return f(resp)
|
||||
self._authenticated_handler = decorated
|
||||
return decorated
|
||||
|
|
Loading…
Reference in New Issue