forked from hacc/haccfiles
netbox: fix uffd secret path
(turns out it's not a good idea to put it into a non-persistant directory)
This commit is contained in:
parent
ba5bcf601c
commit
015f66d749
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@
|
||||||
REMOTE_AUTH_BACKEND = 'social_core.backends.uffd.UffdOAuth2'
|
REMOTE_AUTH_BACKEND = 'social_core.backends.uffd.UffdOAuth2'
|
||||||
SOCIAL_AUTH_UFFD_KEY = "netbox"
|
SOCIAL_AUTH_UFFD_KEY = "netbox"
|
||||||
SOCIAL_AUTH_UFFD_BASE_URL = "https://login.infra4future.de"
|
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", "")
|
SOCIAL_AUTH_UFFD_SECRET = file.readline().replace("\n", "")
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue