Jira Server で "自分のアカウントにアクセスできない場合" リンクを取り除く

お困りですか?

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

コミュニティに質問

The information in this page relates to customizations in Jira. Consequently, Atlassian Support cannot guarantee to provide any support for the steps described on this page as customizations are not covered under Atlassian Support Offerings. Please be aware that this material is provided for your information only and that you use it at your own risk.

また、ファイルの直接変更によって行われるカスタマイズは、アップグレード プロセスには含まれない点にご注意ください。このような変更は、アップグレード後のインスタンスで手動で再適用する必要があります。


症状

Jira 管理者のみが "外部ユーザー管理" オプションを有効化せずにユーザーのパスワードをリセットできるよう、管理者がログイン ページのパスワードを忘れた場合のリンクを非表示にしたい場合があります。

ソリューション

Turning off or removing JIRA "Can't access your account?" display of the link in the Log In page – see Configuring Jira application options for more details:

[システム] > [全般設定] > 右上の [編集]
外部管理を有効化して "自分のアカウントにアクセスできない場合" の表示を解除

これにより、ユーザーがログイン ページでパスワードを変更できないようにすることができます。


回避策

There are times that you can't turn on the external management feature and still need to hide the "Can't access your account?" link.
In that case you may want to use CSS to hide the HTML elements – see How to hide elements in Jira using CSS or JavaScript for more details about it.

 The following CSS code hides the links from both the login gadget and the login page – the Visibility Level must be set to Public:

<style type="text/css">
/* Hide the "Can't access your account?" link from the login.jsp page */
a#forgotpassword[href*="ForgotLogin"] {
    display: none !important;
}
/* Hide the "Can't access your account?" link from the login gadget */
a#login-form-cancel[href*="ForgotLogin"] {
    display: none !important;
}
</style>



Confluence でも同じ問題が確認される場合があります。

Confluence のサポート対象の回避策

Confluence の場合、[管理] > [スタイルシート] ([ルック アンド フィール] の配下) で次の内容を css に追加して保存します。

#forgot-password {
display:none;
}

Bamboo で同じ問題が確認される場合があります

Bitbucket で同じ問題が確認される場合があります

最終更新日 2022 年 8 月 11 日

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

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