From 59daf36cb2dfa289814fd89778f6c0000b6d870a Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Sun, 14 May 2017 14:45:30 +0100 Subject: httpauth: Recommend if_not_empty parameter for REMOTE_USER This is untested, but should hopefully avoid the failure mode described in [[bugs/Anon_edit_caused_lock_out_on_entire_site_]]. --- doc/plugins/httpauth.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/plugins/httpauth.mdwn b/doc/plugins/httpauth.mdwn index 58a08599c..b2f789b8e 100644 --- a/doc/plugins/httpauth.mdwn +++ b/doc/plugins/httpauth.mdwn @@ -41,6 +41,6 @@ users authentication via other methods. You have to pass the $remote_user variable to the CGI: location /ikiwiki.cgi { - fastcgi_param REMOTE_USER $remote_user; + fastcgi_param REMOTE_USER $remote_user if_not_empty; .... } -- cgit v1.2.3