From c1bdc589a0f8285cdc2213d6f4d118645f437095 Mon Sep 17 00:00:00 2001 From: na-stewart Date: Fri, 22 Nov 2024 00:17:23 -0500 Subject: [PATCH] Test revision --- README.md | 1 - sanic_security/test/server.py | 1 - 2 files changed, 2 deletions(-) diff --git a/README.md b/README.md index 7e27441..23a82b3 100644 --- a/README.md +++ b/README.md @@ -230,7 +230,6 @@ async def on_two_factor_authentication(request): "Authentication session second-factor fulfilled! You are now authenticated.", authentication_session.json, ) - authentication_session.encode(response) return response ``` diff --git a/sanic_security/test/server.py b/sanic_security/test/server.py index a0319da..200a6cb 100644 --- a/sanic_security/test/server.py +++ b/sanic_security/test/server.py @@ -128,7 +128,6 @@ async def on_two_factor_authentication(request): "Authentication session second-factor fulfilled! You are now authenticated.", authentication_session.bearer.json, ) - authentication_session.encode(response) return response