From 802fa18571704dc0fe8ea0ca7f557f01d4497017 Mon Sep 17 00:00:00 2001 From: Adam Montgomery Date: Thu, 22 Aug 2024 10:17:58 -0400 Subject: [PATCH] fix auth class init typo --- src/quart_auth/extension.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/quart_auth/extension.py b/src/quart_auth/extension.py index 580edd0..ce5926b 100644 --- a/src/quart_auth/extension.py +++ b/src/quart_auth/extension.py @@ -108,7 +108,7 @@ def __init__( self.singleton = singleton if serializer_class is not None: self.serializer_class = serializer_class - if serializer_class is not None: + if user_class is not None: self.user_class = user_class if app is not None: self.init_app(app)