[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
|
||||
dest: "{{ mailman_webui_confdir }}/initial-data.json"
|
||||
owner: root
|
||||
group: root
|
||||
group: mailman
|
||||
mode: 0640
|
||||
tags:
|
||||
- mailman
|
||||
|
|
|
@ -73,7 +73,9 @@ INSTALLED_APPS = (
|
|||
'allauth.socialaccount',
|
||||
'django_mailman3.lib.auth.fedora',
|
||||
{% for service_name, service_data in mailman_login.items() %}
|
||||
{% if service_data.provider != "fedora" %}
|
||||
'allauth.socialaccount.providers.{{ service_data.provider }}',
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue