aboutsummaryrefslogtreecommitdiff
path: root/doc/plugins
diff options
context:
space:
mode:
authorSimon McVittie <smcv@debian.org>2017-05-14 14:45:30 +0100
committerSimon McVittie <smcv@debian.org>2017-05-14 15:36:26 +0100
commit59daf36cb2dfa289814fd89778f6c0000b6d870a (patch)
treea3daf2bfb8e3c57c99eb0e1f5ed118274a799500 /doc/plugins
parent8b5c729b8b8699a1828dae2b995af13a481a5da7 (diff)
downloadikiwiki-59daf36cb2dfa289814fd89778f6c0000b6d870a.tar
ikiwiki-59daf36cb2dfa289814fd89778f6c0000b6d870a.tar.gz
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_]].
Diffstat (limited to 'doc/plugins')
-rw-r--r--doc/plugins/httpauth.mdwn2
1 files changed, 1 insertions, 1 deletions
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;
....
}