This page last changed on Oct 11, 2010 by smaddox.
 | Code Changes Required
This configuration requires changing the Confluence code in your installation. You will need to reapply these changes whenever you upgrade Confluence. Proceed with caution. |
The Confluence Administration Console does not provide an option for disabling the 'Remember Me' feature. If you like, you can vote for and comment on the request to provide this ability: CONF-10383.
As a workaround, you can modify the Velocity file login.vm as described below. This modification simply removes the 'Remember Me' checkbox from the web page.
The steps required are as follows:
- Stop Confluence.
- Go to your Confluence installation directory.
- Locate the
<CONFLUENCE-INSTALLATION>/confluence/login.vm file and make a backup copy.
- Edit the file.
- Locate the following line of code:
#bodytag( "Component" "label='remember.accesskey'" "name='os_cookie'" "value='false'" "theme='aui'" "template='onofflist.vm'" "tabindex='4'") #end
Comment out the line so that it looks like this (note the extra '#' character in front):
##bodytag( "Component" "label='remember.accesskey'" "name='os_cookie'" "value='false'" "theme='aui'" "template='onofflist.vm'" "tabindex='4'") #end
- Locate another, similar line of code:
#bodytag( "Component" "label='remember.accesskey'" "name='os_cookie'" "value='false'" "theme='aui'" "template='onofflist.vm'") #end
Comment out the line so that it looks like this:
##bodytag( "Component" "label='remember.accesskey'" "name='os_cookie'" "value='false'" "theme='aui'" "template='onofflist.vm'") #end
- Save the file and restart Confluence.
- Repeat the above steps each time you install a new version of Confluence.
|