authentication support: work has begun!

Jason A. Donenfeld Jason at zx2c4.com
Wed Jan 15 02:02:13 CET 2014


Hi folks,

While still a horrendous mess, I've begun work adding authentication
support, using our nice new lua filter system.

A sample script looks like this [at the moment]:

http://git.zx2c4.com/cgit/tree/filters/simple-authentication.lua?h=jd/authentication

The full commit of this attrocity looks like this:
   http://git.zx2c4.com/cgit/commit/?h=jd/authentication

It's far from finished or polished, but I thought I'd give everyone a
preview of it. It's running on:
    http://git.zx2c4.com/glouglou/log

Currently just enter anything you want as username and password. It will
set a cookie. Check out the HTTP headers and response and everything to see
what's happening.

Preliminary comments?

Jason
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.zx2c4.com/pipermail/cgit/attachments/20140115/c9c025fa/attachment.html>


More information about the CGit mailing list