From f3422cfd97075d428140a5e86e3b4e8fb9d8e502 2024-10-22 15:05:05 From: Lance Edgar Date: 2024-10-22 15:05:05 Subject: [PATCH] fix: fix method call signature --- diff --git a/rattail/auth.py b/rattail/auth.py index d26d4d2341fbb1492e83f73b0f4dba9cca7337f7..aa83710e5c7d4aaedc7c25f78da17e08aca9d688 100644 --- a/rattail/auth.py +++ b/rattail/auth.py @@ -262,7 +262,7 @@ class RattailAuthHandler(base.AuthHandler, MergeMixin): warnings.warn("generate_unique_username() is deprecated; " "please use make_unique_username() instead", DeprecationWarning, stacklevel=2) - return self.make_unique_username(*args, **kwargs) + return self.make_unique_username(session, **kwargs) def generate_username(self, *args, **kwargs): # pragma: no cover """ """