fix github avatar authentication
This commit is contained in:
parent
8dbd6a2101
commit
c477a14d1a
|
@ -816,7 +816,7 @@ class NixConfigurator(ConfiguratorBase):
|
|||
if not config["www"].get("auth"):
|
||||
config["www"]["avatar_methods"] = config["www"].get("avatar_methods", [])
|
||||
config["www"]["avatar_methods"].append(
|
||||
util.AvatarGitHub(self.github.token())
|
||||
util.AvatarGitHub(token=self.github.token())
|
||||
)
|
||||
config["www"]["auth"] = util.GitHubAuth(
|
||||
self.github.oauth_id, read_secret_file(self.github.oauth_secret_name)
|
||||
|
|
Loading…
Reference in a new issue