From 2d0042ac3ad4d9df9245dbc1add45090aa87cd57 Mon Sep 17 00:00:00 2001 From: classabbyamp Date: Sat, 3 Aug 2024 22:30:23 -0400 Subject: [PATCH] wip --- buildbot_netauth/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/buildbot_netauth/__init__.py b/buildbot_netauth/__init__.py index b2c16a4..99447de 100644 --- a/buildbot_netauth/__init__.py +++ b/buildbot_netauth/__init__.py @@ -19,6 +19,7 @@ class BuildbotNetAuth(util.CustomAuth, AvatarBase, UserInfoProviderBase): :param conf: path to a NetAuth config file, optional, ignored if `na_inst` is provided :param kwargs: all other keyword arguments are passed to the NetAuth instance, if it is created internally """ + name = "netauth" def __init__(self, *, conf: Path | None = None, **kwargs): @@ -45,6 +46,7 @@ def check_credentials(self, username: str, password: str) -> bool: def getUserInfo(self, username): username = bytes2unicode(username) + print(repr(username)) if not username: return defer.fail(ValueError("username not found"))