From 21d7ef4c1821b5f65f53482fa8eb18460d1f0e6c Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Wed, 30 Aug 2023 14:34:09 -0400 Subject: [PATCH] user/authentik: fix patch --- user/authentik/APKBUILD | 4 ++-- user/authentik/root-settings-csrf_trusted_origins.patch | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/user/authentik/APKBUILD b/user/authentik/APKBUILD index fcb8baf..addf2d6 100644 --- a/user/authentik/APKBUILD +++ b/user/authentik/APKBUILD @@ -3,7 +3,7 @@ pkgname=authentik pkgver=2023.8.1 -pkgrel=1 +pkgrel=2 pkgdesc="An open-source Identity Provider focused on flexibility and versatility" url="https://github.com/goauthentik/authentik" # py3-xmlsec needs some work @@ -239,5 +239,5 @@ sha512sums=" 351e6920d987861f8bf0d7ab2f942db716a8dbdad1f690ac662a6ef29ac0fd46cf817cf557de08f1c024703503d36bc8b46f0d9eb1ecaeb399dce4c3bb527d17 authentik-ldap.openrc 89ee5f0ffdade1c153f3a56ff75b25a7104aa81d8c7a97802a8f4b0eab34850cee39f874dabe0f3c6da3f71d6a0f938f5e8904169e8cdd34d407c8984adee6b0 authentik-ldap.conf d2df285e09d05bb78b17cdbf156cb19883764d0ae61d4c8faed599c015277b75c3f51e5fcb35e01fc25d5847f667ff2089d5e6c48b85a3a6b4523278b2eea89d authentik-manage.sh -483befe5e2c90c4f37d5b3ef95ebb99a4208927ee0481e948117a79e36cce110ed53eaa0a9a816cf30ba4c0691b504c9c08d2f9dd7a7bc465a618af260aa1145 root-settings-csrf_trusted_origins.patch +a50ceddb239851d869212cd5064df117ab977d0e01bf0bc5fa7b5fa6e6428a4af59f802ca223a7e840753f86bfdb0df17d330f9ba4cbaa30a167f51d8aecb9bd root-settings-csrf_trusted_origins.patch " diff --git a/user/authentik/root-settings-csrf_trusted_origins.patch b/user/authentik/root-settings-csrf_trusted_origins.patch index b6c98cd..52a892f 100644 --- a/user/authentik/root-settings-csrf_trusted_origins.patch +++ b/user/authentik/root-settings-csrf_trusted_origins.patch @@ -6,7 +6,7 @@ index ebfc471..ce1ef3b 100644 CSRF_COOKIE_NAME = "authentik_csrf" CSRF_HEADER_NAME = "HTTP_X_AUTHENTIK_CSRF" -+CSRF_TRUSTED_ORIGINS = CONFIG.y("csrf.trusted_origins") ++CSRF_TRUSTED_ORIGINS = CONFIG.get("csrf.trusted_origins") LANGUAGE_COOKIE_NAME = "authentik_language" SESSION_COOKIE_NAME = "authentik_session" - SESSION_COOKIE_DOMAIN = CONFIG.y("cookie_domain", None) + SESSION_COOKIE_DOMAIN = CONFIG.get("cookie_domain", None)