From 1b87375661d5e5145f7257a1e8de53311c6ccd07 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sat, 8 May 2021 17:13:13 +0200 Subject: [PATCH] lib: add default to config from file:// Signed-off-by: Jens Langhammer --- authentik/lib/config.py | 1 + web/src/pages/LibraryPage.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/authentik/lib/config.py b/authentik/lib/config.py index c71d9a573..9980b5dc8 100644 --- a/authentik/lib/config.py +++ b/authentik/lib/config.py @@ -92,6 +92,7 @@ class ConfigLoader: value = _file.read() except OSError: self._log("error", f"Failed to read config value from {url.netloc}") + value = url.query return value def update_from_file(self, path: str): diff --git a/web/src/pages/LibraryPage.ts b/web/src/pages/LibraryPage.ts index aac891d0d..c963122fa 100644 --- a/web/src/pages/LibraryPage.ts +++ b/web/src/pages/LibraryPage.ts @@ -88,7 +88,7 @@ export class LibraryPage extends LitElement { apps?: AKResponse; pageTitle(): string { - return t`Applications`; + return t`My Applications`; } static get styles(): CSSResult[] {