From e39c287569a20fc070b6ccdf52d339a7da1e11cf Mon Sep 17 00:00:00 2001 From: defanor Date: Sun, 31 Mar 2019 05:45:39 +0300 Subject: Handle `auth=fail` Ignore credentials provided by a user, serve documents with status code 401. --- README.md | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index f5343e9..5b712c2 100644 --- a/README.md +++ b/README.md @@ -75,6 +75,11 @@ a database connection failure was password-related. With `auth=try` pgxhtml would serve pages composed using defaults if no credentials are provided, but with 401 status code. +`auth=fail` would ignore user-provided credentials and serve pages +with 401 status code. It can be used to circumvent poor authentication +handling by some web browsers. + + ### Web server This is intended to be used with an HTTP server, which would take care -- cgit v1.2.3