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"))