mirror of
https://git.zx2c4.com/cgit
synced 2024-11-22 08:28:42 +00:00
d6e9200cc3
This leverages the new lua support. See filters/simple-authentication.lua for explaination of how this works. There is also additional documentation in cgitrc.5.txt. Though this is a cookie-based approach, cgit's caching mechanism is preserved for authenticated pages. Very plugable and extendable depending on user needs. The sample script uses an HMAC-SHA1 based cookie to store the currently logged in user, with an expiration date. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> |
||
---|---|---|
.. | ||
html-converters | ||
about-formatting.sh | ||
commit-links.sh | ||
email-gravatar.lua | ||
email-gravatar.py | ||
simple-authentication.lua | ||
syntax-highlighting.py | ||
syntax-highlighting.sh |