Extend login-cookies expiry

2 years ago by Darkassassin07 to c/pihole

Is there a good way to extend how long the login cookie lasts?

I really hate using a password with pihole because it won't keep itself logged in in a browser session for more than ~30min. Pretty much every time I visit it, I've gotta login again. (unlike every single other service I host which remembers you've logged in for at least a week -> indefinitely)

I usually set no password, but Nebula-Sync doesn't support no password yet, so I'm stuck with having them at least for now.

A password isn't a terrible idea, I just don't want to have to enter it constantly.(regardless of using a password manager, that takes forever to popup sometimes)

dr_jekell 7 points 2 years ago

Go to:

Settings > All settings > Webserver and API > webserver.session.timeout > Then change the value to "604800" for a 7 day log in like v5 had (or other value as needed).

path: 0 16403472, hotness: undefined, score: 7, children: 2
Darkassassin07 2 points 2 years ago

Awesome! Thank you my good sir/madam :)

path: 0 16403472 16403791, hotness: undefined, score: 2, children: 0
Reannlegge 1 point 2 years ago

Thank you I was suffering through this as well

path: 0 16403472 16408962, hotness: undefined, score: 1, children: 0
pihole
pihole

@sh.itjust.works

login for more options
649
35
1

The Pi-hole® is a DNS sinkhole that protects your devices from unwanted content without installing any client-side software.

go to feed...