[Box Backup-dev] Trac 0.10?
James O'Gorman
boxbackup-dev at fluffy.co.uk
Fri Oct 13 00:13:12 BST 2006
James O'Gorman wrote:
> Ah, found the offending code. It does indeed use your IP address:
>
> cursor.execute("INSERT INTO auth_cookie (cookie,name,ipnr,time) "
> "VALUES (%s, %s, %s, %s)", (cookie, remote_user,
> req.remote_addr, int(time.time())))
>
> (in web/auth.py)
>
> I'll have a dig around to see if it's changable. One of the problems
> with changing the actual Trac code is that it seems to be compiled, and
> not being a Python person, I haven't the foggiest how you "compile" Python.
Uh, my bad. There is in fact an option an trac.ini that disables the IP
check (check_auth_ip -- who'd've thought?). I've disabled that now.
James
More information about the Boxbackup-dev
mailing list