Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
api-docs: Add notes about mobile client logout with new API key.
Lauryn Menard94628b791dad
diff --git a/api_docs/api-keys.md b/api_docs/api-keys.mdindex 1acc6ba5514..dcf8f718ae3 100644--- a/api_docs/api-keys.md+++ b/api_docs/api-keys.md@@ -45,7 +45,8 @@ Zulip API with a specific account on a Zulip server.## Invalidate an API key-To invalidate an existing API key, you have to generate a new key.+To invalidate an existing API key, you have to generate a new key. Generating a+new API key will immediately log you out of this account on all mobile devices.{start_tabs}diff --git a/web/styles/settings.css b/web/styles/settings.cssindex a672dee4247..41aa2a4ee05 100644--- a/web/styles/settings.css+++ b/web/styles/settings.css@@ -1406,6 +1406,7 @@ label.preferences-radio-choice-label {#show_api_key {.api-key-container {+ padding-bottom: 10px;display: flex;align-items: center;gap: 8px;diff --git a/web/templates/settings/api_key_modal.hbs b/web/templates/settings/api_key_modal.hbsindex 15a6f5d8f3f..b8db7df6a38 100644--- a/web/templates/settings/api_key_modal.hbs+++ b/web/templates/settings/api_key_modal.hbs@@ -36,6 +36,9 @@</span></div><div id="user_api_key_error" class="text-error"></div>+ <p class="small">+ {{t "Generating a new API key will immediately log you out of this account on all mobile devices." }}+ </p></div></main><footer class="modal__footer">