Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to disable remember me function at 8+ version

한은우
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 4, 2024

 

https://confluence.atlassian.com/confkb/how-to-configure-the-remember-me-feature-in-confluence-118686062.html


 

Among the contents that can be found in this url
In fluence 8+ and later versions, deactivation of the remove function is not possible due to modification of the configuration file.


 

However, at the request of the customer, we modified part of the login.vm file to disable the member check box itself on the login screen, and there was no unusual error situation.

Has anyone done the situation in the same situation in a different way?


I will only share the details of the action for your reference.
I just delete from #if line to #end line  

 

                        #if ($action.shouldRememberMeCheckboxBeOmitted())
                            <input type="hidden" name="os_cookie" value="true"/>
                        #else
                            <div class="group">
                                #set ($templateParameters = {"value": "true",
                                    "labelContent": "$i18n.getText('remember.accesskey')",
                                    "name": "os_cookie",
                                    "type": "checkbox",
                                    "id": "os_cookie",
                                    "isChecked": false})
                                $soyTemplateRendererHelper.getRenderedTemplateHtml(
                                    "com.atlassian.auiplugin:aui-experimental-soy-templates",
                                    "aui.form.field.soy", $templateParameters)
                            </div>
                        #end

1 answer

0 votes
Mercy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
December 10, 2025

In Confluence 8 and later, the remember me feature is controlled entirely by the authentication framework, and Atlassian removed the ability to disable it through `confluence.cfg.xml` or other configuration files. The change was introduced when Confluence moved to Spring Security, so the checkbox now reflects a fixed cookie behavior managed by the platform rather than the UI template. Atlassian’s documentation confirms that the only supported way to influence session persistence is through standard authentication settings or external SSO tools, not by editing Velocity templates.
If you need to prevent users from seeing or using the checkbox, hiding it in `login.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
8.5.14
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events