1

Topic: iRedAdmin-PRO auto logout time

==== Required information ====
- iRedMail version: 0.8.7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Linux/BSD distribution name and version: CentOS 6.5
- Related log if you're reporting an issue:
====
I seem to remember seeing this somewhere, but I can't find it.  Where is the setting change in iRedAdmin-PRO 1.8.2 to increase the automatic logout time?  I assume I need to add a line to settings.py but I don't know what the line should be.  I'd like to increase the automatic logout due to inactivity to something like 30 minutes.  Thanks!

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: iRedAdmin-PRO auto logout time

Never mind, I found it in libs/default_settings.py.  Added this line to settings.py:
SESSION_TIMEOUT = 1800

just in case anyone else comes upon this post looking for the same answer.

3

Re: iRedAdmin-PRO auto logout time

Well, actually it didn't seem to work.  Do I need to restart Apache, or something else?

4

Re: iRedAdmin-PRO auto logout time

answerman wrote:

Do I need to restart Apache, or something else?

yes you must restart apache or uwsgi (if you're running Nginx) service to reload modified iRedAdmin-Pro.