[PATCH] pgweb: auth.py: make it possible to customize email address in error message

From: Célestin Matte <celestin(dot)matte(at)cmatte(dot)me>
To: pgsql-www(at)postgresql(dot)org
Subject: [PATCH] pgweb: auth.py: make it possible to customize email address in error message
Date: 2023-12-19 16:51:47
Message-ID: 79ee1e4d-ef04-414e-a5e0-1732590ff763@cmatte.me
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-www

auth.py contains an error message with an hardcoded @postgresql.org email address.
This patch makes it possible to change it using a variable in the settings.
I used ADMINS because it already exists in pgweb with the correct value (and pgarchives), but that can be discussed as it doesn't exist in pglister.

--
Célestin Matte

Attachment Content-Type Size
0001-auth.py-make-it-possible-to-customize-email-address-.patch text/x-patch 1.7 KB

Responses

Browse pgsql-www by date

  From Date Subject
Next Message Célestin Matte 2023-12-20 12:56:42 pglister: monitor eximintegration queue with nagios?
Previous Message Tristan Partin 2023-12-19 15:34:43 Re: Receiving editor previleges on the Wiki