When a user selects the Remember my login on this computer option, the user need not re-enter their credentials again from the same browser, unless they are explicitly logged out. In addition, by default, this feature lasts for 30 days.
In this recipe, we will look at how to change the duration, and extend it to the maximum extent possible.
Since we will be making direct changes to a JIRA system file, make sure you create backups for any files that you modify. This recipe will also require a restart of JIRA, so plan this during a time slot that will not affect your users.
Proceed with the following steps to change the remember me cookie duration:
Open the
seraph-config.xml
file from theJIRA_INSTALL/atlassian-jira/WEB-INF/classes
directory in a text editor.Locate the following lines, and change the value of
param-value
to the desired number in seconds:<init-param> <param-name>...