Diff options
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
Check the auth files that are missing or broken
Only a missing users file and a missing repos file were tried. A missing groups file denies today, but a change returning nil there would have made every protected repository public unnoticed. The repos file's log line and a users file with no line that parses, which has to turn a login down without spending crypt, went unchecked too.
Diffstat (limited to 'tests/extensions')
-rw-r--r--tests/extensions/test-auth.lua21
1 file changed, 21 insertions, 0 deletions