# Customize text from login page in Kibana 7.6 - not working

**URL:** <https://discuss.elastic.co/t/customize-text-from-login-page-in-kibana-7-6-not-working/238432>\
**Category:** Kibana\
**Created:** [June 24, 2020, 10:11am UTC](https://discuss.elastic.co/t/customize-text-from-login-page-in-kibana-7-6-not-working/238432 "2020-06-24T10:11:13Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![marrel](https://avatars.discourse-cdn.com/v4/letter/m/a4c791/32.png) [@marrel](https://discuss.elastic.co/u/marrel)\
**Post date:** [June 24, 2020, 10:11am UTC](https://discuss.elastic.co/t/customize-text-from-login-page-in-kibana-7-6-not-working/238432/1 "2020-06-24T10:11:13Z")

</div>

Hi everyone!  
I wanted to customize the texts from login/logout page in Kibana version 7.6 with my custom text.

I have found where the texts are written:

- for the `Welcome to Kibana` and `Your window into the Elastic Stack`, it is referred in the file `kibana\x-pack\legacy\plugins\security\public\views\login\components\login_page\login_page.js`

- for the `You have logged out of Kibana.`, it is referred in the file `kibana\x-pack\legacy\plugins\security\public\views\login`

I changed the `defaultMessage` with my own texts, but when I restart Kibana, the text does not seem to have changed. They remain the initial texts from Kibana.  
Do you have any idea what is happening? How can I successfully change it?

Thank you in advance!! 🙂

---

<div class="post-metadata">

**Author:** ![matw](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/matw/32/13913_2.png) [@matw](https://discuss.elastic.co/u/matw)\
**Post date:** [June 24, 2020, 12:38pm UTC](https://discuss.elastic.co/t/customize-text-from-login-page-in-kibana-7-6-not-working/238432/2 "2020-06-24T12:38:01Z")

</div>

Hi  
You need to be aware that any of those changes will get lost once you e.g. update Kibana to a new version. However to make the kind of change visible, you need Kibana to trigger a rebuild by deleting the `optimize` folder. When you restart Kibana, you should be able to see those changes.

Best,  
Matthias

---

<div class="post-metadata">

**Author:** ![marrel](https://avatars.discourse-cdn.com/v4/letter/m/a4c791/32.png) [@marrel](https://discuss.elastic.co/u/marrel)\
**Post date:** [June 25, 2020, 7:00am UTC](https://discuss.elastic.co/t/customize-text-from-login-page-in-kibana-7-6-not-working/238432/3 "2020-06-25T07:00:59Z")

</div>

thank you very much for your reply @matw.  
Sorry for my following question but I am wondering, by deleting the optimize folder, you mean 1. deleting the whole `optimize` folder, 2. deleting everything inside `optimize` folder.

I deleted the whole `optimize` folder but I got the following error message:  
`Browserslist: caniuse-lite is outdated. Please run next command npm update`  
and it does not let me open the Kibana.

---

<div class="post-metadata">

**Author:** ![matw](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/matw/32/13913_2.png) [@matw](https://discuss.elastic.co/u/matw)\
**Post date:** [June 25, 2020, 7:42am UTC](https://discuss.elastic.co/t/customize-text-from-login-page-in-kibana-7-6-not-working/238432/4 "2020-06-25T07:42:08Z")

</div>

how did you install Kibana?

---

<div class="post-metadata">

**Author:** ![marrel](https://avatars.discourse-cdn.com/v4/letter/m/a4c791/32.png) [@marrel](https://discuss.elastic.co/u/marrel)\
**Post date:** [June 25, 2020, 8:22am UTC](https://discuss.elastic.co/t/customize-text-from-login-page-in-kibana-7-6-not-working/238432/5 "2020-06-25T08:22:01Z")

</div>

I run elasticsearch and kibana locally in desktop.

---

<div class="post-metadata">

**Author:** ![matw](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/matw/32/13913_2.png) [@matw](https://discuss.elastic.co/u/matw)\
**Post date:** [June 25, 2020, 8:24am UTC](https://discuss.elastic.co/t/customize-text-from-login-page-in-kibana-7-6-not-working/238432/6 "2020-06-25T08:24:49Z")

</div>

checked out from source? installed by package? which system is it running on? thx

---

<div class="post-metadata">

**Author:** ![marrel](https://avatars.discourse-cdn.com/v4/letter/m/a4c791/32.png) [@marrel](https://discuss.elastic.co/u/marrel)\
**Post date:** [June 25, 2020, 8:33am UTC](https://discuss.elastic.co/t/customize-text-from-login-page-in-kibana-7-6-not-working/238432/7 "2020-06-25T08:33:40Z")

</div>

OS: windows 7  
Kibana 7.6, Elasticsearch 7.6  
I downloaded kibana and elasticsearch as zip files and run them locally.  
Hope I have answered your question.

---

<div class="post-metadata">

**Author:** ![matw](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/matw/32/13913_2.png) [@matw](https://discuss.elastic.co/u/matw)\
**Post date:** [June 26, 2020, 5:27am UTC](https://discuss.elastic.co/t/customize-text-from-login-page-in-kibana-7-6-not-working/238432/8 "2020-06-26T05:27:15Z")

</div>

Could you try running

`node scripts/build`

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 24, 2020, 5:27am UTC](https://discuss.elastic.co/t/customize-text-from-login-page-in-kibana-7-6-not-working/238432/9 "2020-07-24T05:27:30Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
