Page 1 of 1

Time delay for relogin in admin section

Posted: 22 Oct 2008, 07:36
by Buga
Hi

I would like to know if there is an option which defines the time until I need to relogin in the admin section(Manage).
If I dont perform any Settings in the Admin Area of Mantis for like 5Minutes I always need to reenter my password. I checked already the config but I didnt find any option for that time delay.

Re: Time delay for relogin in admin section

Posted: 23 Oct 2008, 19:14
by NT
Hi

This value is set in file core/constant_inc.php
Near the end of the file is the line:-

Code: Select all

define( 'TOKEN_EXPIRY_AUTHENTICATED', 5*60 );
This is the expiry time in seconds.
You can change this value to whatever value you think will be long enough.

Nick

Re: Time delay for relogin in admin section

Posted: 27 Oct 2008, 07:51
by Buga
thanks for the info.

is there also a way to define that in the config file?

If I update Mantis I need change this value also each time. Not that this would be a big deal but it would be much smoother if I could add it to my custom config file

Re: Time delay for relogin in admin section

Posted: 31 Oct 2008, 11:09
by Buga
I tryed to add this to the custom_constant_inc.php but it didnt work.