distgit/pagure: Turn off username lookup in dist-git
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
parent
506b3727b7
commit
5d83949656
1 changed files with 2 additions and 1 deletions
|
@ -91,13 +91,14 @@ ALLOW_HTTP_PUSH = True
|
||||||
|
|
||||||
PDC_URL = 'https://pdc{{ env_suffix }}.fedoraproject.org/rest_api/v1/'
|
PDC_URL = 'https://pdc{{ env_suffix }}.fedoraproject.org/rest_api/v1/'
|
||||||
|
|
||||||
SSH_KEYS_USERNAME_LOOKUP = True
|
|
||||||
SSH_KEYS_OPTIONS = 'restrict,command="/usr/libexec/pagure/aclchecker.py %(username)s"'
|
SSH_KEYS_OPTIONS = 'restrict,command="/usr/libexec/pagure/aclchecker.py %(username)s"'
|
||||||
|
|
||||||
{% if env == 'staging' %}
|
{% if env == 'staging' %}
|
||||||
GIT_AUTH_BACKEND = 'pagure'
|
GIT_AUTH_BACKEND = 'pagure'
|
||||||
SSH_KEYS_USERNAME_EXPECT = 'git'
|
SSH_KEYS_USERNAME_EXPECT = 'git'
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
SSH_KEYS_USERNAME_LOOKUP = True
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
HTTP_REPO_ACCESS_GITOLITE = None
|
HTTP_REPO_ACCESS_GITOLITE = None
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue