public inbox for [email protected]  
help / color / mirror / Atom feed
From: Célestin Matte <[email protected]>
To: [email protected]
Subject: [PATCH 2/2] pgarchives: Add missing example pgauth config in settings.py
Date: Thu, 28 Oct 2021 19:43:43 +0200
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>

> In the second patch of this series, I add missing parameters for configuring PGAUTH, copying the ones from pglister.-- 
Célestin Matte

Attachments:

  [text/x-patch] 0002-Add-missing-example-pgauth-config-in-settings.py.patch (837B, 2-0002-Add-missing-example-pgauth-config-in-settings.py.patch)
  download | inline diff:
From 9ce519750d165d09e0874341e4e2592875d18b8a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?C=C3=A9lestin=20Matte?= <[email protected]>
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



reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: [PATCH 2/2] pgarchives: Add missing example pgauth config in settings.py
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox