Diff options
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
Load auth libraries only when a request needs one
Required at the top, a missing luaossl or luaposix failed every request to the site, public pages included, and each public page paid to load both.
-rw-r--r--custom/extensions/auth-file.lua16
-rw-r--r--custom/extensions/auth-inline.lua16
-rw-r--r--tests/extensions/test-auth.lua13
-rwxr-xr-xtests/t0505-auth.sh36
4 files changed, 63 insertions, 18 deletions