This commit is contained in:
parent
2b901714ad
commit
23c05bb3b4
@ -44,5 +44,5 @@ AUTOMATICALLY_LOG_IN = environ.get("AUTOMATICALLY_LOG_IN", False)
|
||||
|
||||
# Nextcloud integration
|
||||
NEXTCLOUD_API_BASE_URL = environ.get("NEXTCLOUD_API_BASE_URL")
|
||||
NEXTCLOUD_APP_PASSWORD = environ.get("NEXTCLOUD_APP_PASSWORD")
|
||||
NEXTCLOUD_APP_SECRET = environ.get("NEXTCLOUD_APP_SECRET")
|
||||
NEXTCLOUD_USER = environ.get("NEXTCLOUD_USER")
|
||||
|
@ -12,7 +12,7 @@ async def init_resource_map(app):
|
||||
)
|
||||
|
||||
nextcloud = owncloud.Client(f"https://{NEXTCLOUD_API_BASE_URL}")
|
||||
nextcloud.login(NEXTCLOUD_USER, NEXTCLOUD_APP_PASSWORD)
|
||||
nextcloud.login(NEXTCLOUD_USER, NEXTCLOUD_APP_SECRET)
|
||||
|
||||
await app.state.redis.set(
|
||||
"resource_map",
|
||||
|
Loading…
Reference in New Issue
Block a user