From cc9c7dfd21373e5266baa6df8fae7e7da807a0ab Mon Sep 17 00:00:00 2001 From: Kyle Mahan Date: Tue, 26 Jan 2016 23:54:40 -0800 Subject: [PATCH] bugfix: call handle_authenticate_response from authentication_handler Previously was calling handle_authorize_response which was incorrect. --- flask_micropub.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flask_micropub.py b/flask_micropub.py index 37bcade..c6a6e70 100644 --- a/flask_micropub.py +++ b/flask_micropub.py @@ -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