therecluse26 / PHP-Login

A login system built with PHP, MySQL, jQuery and Bootstrap
MIT License
839 stars 444 forks source link

Short Login Time #232

Open MrLava13 opened 5 years ago

MrLava13 commented 5 years ago

Hello, this is sort of an issue but how can I increase the cookie expiration time because it only stays logged in for 30 minutes which I need to be longer. Also, the token_validity does not seem to help, nor the cookie_expire_secconds because I have it set to "2592000" seconds or 30 days. All help is appreciated.

therecluse26 commented 5 years ago

It should be longer than 30 minutes by default, you can change the expiration in the Edit Site Config page. If it's still not working, I'd like to take a look at it at some point to see if I have a bug

[image: Screen Shot 2019-06-02 at 12.42.28 PM.png]

On Sat, Jun 1, 2019 at 4:45 PM MrLava13 notifications@github.com wrote:

Hello, this is sort of an issue but how can I increase the cookie expiration time because it only stays logged in for 30 minutes which I need to be longer. Also, the token_validity does not seem to help, nor the cookie_expire_secconds because I have it set to "2592000" seconds or 30 days. All help is appreciated.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/therecluse26/PHP-Login/issues/232?email_source=notifications&email_token=AB63QATXCGUYFV32JASPTPLPYLNVNA5CNFSM4HSBIPD2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GXDS3MQ, or mute the thread https://github.com/notifications/unsubscribe-auth/AB63QAQLMB7LNWXC5RV5OA3PYLNVNANCNFSM4HSBIPDQ .

MrLava13 commented 5 years ago

Hello, sorry for the late reply, I tried in many ways what you said but nothing seemed to work.