Diff options
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
Say when logins are unavailable
The way back was signed part way through the form, so while the secret's directory did not exist, or a library was missing, cgit's error landed inside the hidden input and the page broke off there with no fields.
-rw-r--r--custom/extensions/auth-file.lua25
-rw-r--r--custom/extensions/auth-inline.lua25
-rw-r--r--tests/extensions/harness.lua21
-rw-r--r--tests/extensions/test-auth.lua17
-rwxr-xr-xtests/t0505-auth.sh5
5 files changed, 78 insertions, 15 deletions