How to set "keep me logged in" checkbox to disabled by default?

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

プラットフォームについて: Server と Data Center のみ - この記事は、サーバーおよびデータセンター プラットフォームのアトラシアン製品にのみ適用されます。

 

問題

There is no UI option for setting this behavior, but it is possible to achieve this by customizing the Service Management JAR pakage. Please notice that since this is a customization, this change is not officially supported.

回避策

    This is the JAR that needs to be modified: <jira-home>/plugins/installed-plugins/jira-servicedesk-X.X.X.jar

  1.     Create a temporary folder and extract the jira-servicedesk-X.X.X.jar file there.
  2.     You will need to find the following file cv-login-form.soy, probably at /servicedesk/customer/feature/login/loginform/ folder.
  3.     You will need to find and remove the checked=" " atribute in the following content:

    <div class="buttons-container">
            <div class="buttons">
               
     <input class="aui-button {if $login.googleApps.enabled == false}aui-button-primary{/if} aui-style" type="submit" 
    value="{getText('cv.login.submit.label')}" id="js-login-submit">
                <span class="cv-status js-status"></span>
            </div>
            <input type="checkbox" class="checkbox remember-login" id="form-remember-login" name="os_cookie" checked="">
            <label for="form-remember-login">{getText('cv.login.remember.me')}</label>
        </div>
    
  4.    Create a new JAR container after modifying the file and name it the same as the original JAR file (e.g. jira-servicedesk-X.X.X.jar).
  5.     Replace the original JAR file on the folder from where it was copied originally with the modified JAR file.
  6.     Restart your Jira Instance.


最終更新日 2020 年 11 月 23 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.