GithubAuth: increase apiVersion to 4

This commit is contained in:
Jörg Thalheim 2023-12-05 23:13:47 +01:00 committed by mergify[bot]
parent cbe4ce0571
commit 48ea2f7db4

View file

@ -868,7 +868,9 @@ class NixConfigurator(ConfiguratorBase):
util.AvatarGitHub(token=self.github.token())
)
config["www"]["auth"] = util.GitHubAuth(
self.github.oauth_id, read_secret_file(self.github.oauth_secret_name)
self.github.oauth_id,
read_secret_file(self.github.oauth_secret_name),
apiVersion=4,
)
config["www"]["authz"] = setup_authz(