summaryrefslogtreecommitdiff
path: root/cgi.c
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2017-07-02 16:20:45 +0200
committerJo-Philipp Wich <jo@mein.io>2017-07-02 16:20:45 +0200
commitc0a569de53db4a6cafa736386fd6feade4cd09f7 (patch)
treeef9236f0dde78435da8e56400cd252088e94dc64 /cgi.c
parentad93be7632963da1bd5b67d71021d1d63ecfd909 (diff)
proc: expose HTTP_AUTH_USER and HTTP_AUTH_PASS
Mimic other web servers like Nginx or Apache and expose the parsed basic auth information as HTTP_AUTH_USER and HTTP_AUTH_PASS environment variables to CGI processes. This also restores login-from-basic-auth functionality in LuCI. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'cgi.c')
0 files changed, 0 insertions, 0 deletions