From 9ce519750d165d09e0874341e4e2592875d18b8a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?C=C3=A9lestin=20Matte?= <gitlab@cmatte.me>
Date: Thu, 28 Oct 2021 19:36:50 +0200
Subject: [PATCH 2/2] Add missing example pgauth config in settings.py

Following the model of pglister
---
 django/archives/settings.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/django/archives/settings.py b/django/archives/settings.py
index db09575..7f4735b 100644
--- a/django/archives/settings.py
+++ b/django/archives/settings.py
@@ -141,6 +141,9 @@ RESEND_RATE_LIMIT_SECONDS = 30
 SEARCH_CLIENTS = ('127.0.0.1',)
 API_CLIENTS = ('127.0.0.1',)
 PUBLIC_ARCHIVES = False
+# pgauth configuration if using private archives
+PGAUTH_REDIRECT = "http://localhost:8000/account/auth/12/"
+PGAUTH_KEY = "encryption_key"
 ALLOW_RESEND = False
 
 try:
-- 
2.33.1

