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
_______________________________________________
CGit mailing list
CGit@lists.zx2c4.com
http://lists.zx2c4.com/mailman/listinfo/cgit

Reply via email to