Time delay for relogin in admin section

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
Buga
Posts: 74
Joined: 31 Mar 2008, 12:10

Time delay for relogin in admin section

Post 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.
NT
Posts: 21
Joined: 30 Oct 2007, 13:35

Re: Time delay for relogin in admin section

Post 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
Buga
Posts: 74
Joined: 31 Mar 2008, 12:10

Re: Time delay for relogin in admin section

Post 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
Buga
Posts: 74
Joined: 31 Mar 2008, 12:10

Re: Time delay for relogin in admin section

Post by Buga »

I tryed to add this to the custom_constant_inc.php but it didnt work.
Post Reply