Skip to content

Commit 0d5337c

Browse files
committed
wip
1 parent 65c0d04 commit 0d5337c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

buildbot_netauth/__init__.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ class BuildbotNetAuth(util.CustomAuth, AvatarBase, UserInfoProviderBase):
1919
:param conf: path to a NetAuth config file, optional, ignored if `na_inst` is provided
2020
:param kwargs: all other keyword arguments are passed to the NetAuth instance, if it is created internally
2121
"""
22+
name = "netauth"
2223

2324
def __init__(self, *, conf: Path | None = None, **kwargs):
2425
kwargs["service_name"] = "buildbot"
@@ -28,7 +29,7 @@ def __init__(self, *, conf: Path | None = None, **kwargs):
2829
else:
2930
self.netauth = netauth.NetAuth(**kwargs)
3031

31-
super().__init__()
32+
super().__init__(userInfoProvider=self)
3233

3334
def requestAvatarId(self, cred):
3435
if self.check_credentials(cred.username, cred.password):

0 commit comments

Comments
 (0)