How to disable remember me function at 8+ version

EW Han
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

0 answers

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