Diff options
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
Turn down passwords past 256 bytes unchecked
SHA-crypt hashes the password in most of its rounds, so the 4 KB that cgit's POST limit lets through cost about fifteen ordinary logins per anonymous attempt.
Diffstat (limited to 'custom')
-rw-r--r--custom/extensions/auth-file.lua6
-rw-r--r--custom/extensions/auth-inline.lua6
2 files changed, 10 insertions, 2 deletions