[mailman3] Fix the initial-data.json dataload
The fedora isn't available in allauth library and mailman user needs to have access to initial-data.json Signed-off-by: Michal Konecny <mkonecny@redhat.com>
This commit is contained in:
parent
57d032953a
commit
132d5ce608
2 changed files with 3 additions and 1 deletions
|
@ -213,7 +213,7 @@
|
||||||
src: initial-data.json.j2
|
src: initial-data.json.j2
|
||||||
dest: "{{ mailman_webui_confdir }}/initial-data.json"
|
dest: "{{ mailman_webui_confdir }}/initial-data.json"
|
||||||
owner: root
|
owner: root
|
||||||
group: root
|
group: mailman
|
||||||
mode: 0640
|
mode: 0640
|
||||||
tags:
|
tags:
|
||||||
- mailman
|
- mailman
|
||||||
|
|
|
@ -73,7 +73,9 @@ INSTALLED_APPS = (
|
||||||
'allauth.socialaccount',
|
'allauth.socialaccount',
|
||||||
'django_mailman3.lib.auth.fedora',
|
'django_mailman3.lib.auth.fedora',
|
||||||
{% for service_name, service_data in mailman_login.items() %}
|
{% for service_name, service_data in mailman_login.items() %}
|
||||||
|
{% if service_data.provider != "fedora" %}
|
||||||
'allauth.socialaccount.providers.{{ service_data.provider }}',
|
'allauth.socialaccount.providers.{{ service_data.provider }}',
|
||||||
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue