netbox: fix uffd secret path

(turns out it's not a good idea to put it into a non-persistant directory)
nextcloud-docs-on-website
stuebinm 2022-12-17 16:36:53 +01:00
parent ba5bcf601c
commit 015f66d749
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@
REMOTE_AUTH_BACKEND = 'social_core.backends.uffd.UffdOAuth2'
SOCIAL_AUTH_UFFD_KEY = "netbox"
SOCIAL_AUTH_UFFD_BASE_URL = "https://login.infra4future.de"
with open("/uffd-secret", "r") as file:
with open("/persist/var/lib/uffd-secret", "r") as file:
SOCIAL_AUTH_UFFD_SECRET = file.readline().replace("\n", "")
'';
};