From 5e875f13dec9273b400af790ef04929d4485ae86 Mon Sep 17 00:00:00 2001 From: Birger Schacht Date: Fri, 8 Sep 2023 10:30:52 +0200 Subject: [PATCH] fix: remove imap auth turns out, we are not allowed to connect to imap. therefore disabling that --- apis_ontology/settings/server_settings.py | 4 ---- pyproject.toml | 1 - 2 files changed, 5 deletions(-) diff --git a/apis_ontology/settings/server_settings.py b/apis_ontology/settings/server_settings.py index 6ab775b..91c8ece 100644 --- a/apis_ontology/settings/server_settings.py +++ b/apis_ontology/settings/server_settings.py @@ -199,7 +199,3 @@ def apis_list_view_object_filter(view, queryset): APIS_LIST_VIEWS_ALLOWED = True APIS_LIST_VIEW_OBJECT_FILTER = apis_list_view_object_filter - -AUTHENTICATION_BACKENDS = ["django_imapauth.backends.ImapAuthBackend", "django.contrib.auth.backends.ModelBackend"] -IMAP_AUTH_HOST = "imap.exchange.oeaw.ac.at" -IMAP_AUTH = ["bschacht"] diff --git a/pyproject.toml b/pyproject.toml index d6cc132..f5b0f02 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -15,7 +15,6 @@ apis-core = { git = "https://github.com/acdh-oeaw/apis-core-rdf.git", branch = " webpage = { git = "https://github.com/acdh-oeaw/apis-webpage.git", tag = "v0.1.0" } apis-bibsonomy = { git = "https://github.com/acdh-oeaw/apis-bibsonomy.git", branch = "birger/fix-referenceonform-issues" } apis-acdhch-default-settings = { git = "https://github.com/acdh-oeaw/apis-acdhch-default-settings.git", tag = "v0.1.3" } -django-imapauth = { git = "https://github.com/b1rger/django-imapauth", tag = "v0.1.0" } [build-system] requires = ["poetry-core>=1.0.0"]