you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 2 insightful - 1 fun2 insightful - 0 fun3 insightful - 1 fun -  (5 children)

Alright, I'm convinced. You're right, people do go through their cookies.

So we can just change all 3 of those instances (adding the line to development.update), then do 'make ini' right?

Yes, and then a reddit-restart. Also make sure your entry to development.update gets put in the [DEFAULT] section. There's only like 3 or 4 sections but it has to be right.

Also, I think this is going to log everyone out. Writing a cookie migration script is possible, but that kills the 15m approach.

[–]magnora7 2 insightful - 1 fun2 insightful - 0 fun3 insightful - 1 fun -  (4 children)

Cool. Alright I changed the development.update to include this in the general section:

login_cookie = saidit_session

name of the admin cookie

admin_cookie = saidit_admin

name of the otp cookie

otp_cookie = saidit_otp

then did make ini, flush, and restart. Seems to still work. I don't think it's storing cookies because of the certificate not existing?

I'm going to try it out on saidit now, and then I'll change those two python references.

[–][deleted] 2 insightful - 1 fun2 insightful - 0 fun3 insightful - 1 fun -  (3 children)

we did a forced logout, but the cookie rename looks correct to me, nice.

[–]magnora7 2 insightful - 1 fun2 insightful - 0 fun3 insightful - 1 fun -  (2 children)

Sweet. Just finished updating everything in post_tests.py and tracker.py (which I'm pretty certain is not being used at all). That's it! Should be good to go.

[–][deleted] 2 insightful - 1 fun2 insightful - 0 fun3 insightful - 1 fun -  (1 child)

I have always tried to get the internal tracking going, to make the sub traffic stats page work. I don't think it's working, but none of it is disabled intentionally as of now.

[–]magnora7 2 insightful - 1 fun2 insightful - 0 fun3 insightful - 1 fun -  (0 children)

Ah ok, good to know, thanks. I just figured from its folder location that it's unused.