Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

help: Improve "Deactivate your account" help page.

Alya Abbott584124bb4512
diff --git a/help/deactivate-your-account.md b/help/deactivate-your-account.md
index 103aac84f2d..c0ac1294adb 100644
--- a/help/deactivate-your-account.md
+++ b/help/deactivate-your-account.md
@@ -1,5 +1,31 @@
# Deactivate your account
+In Zulip, you have a dedicated account for each organization you belong to.
+Deactivating your Zulip account in one organization will have no effect on any
+other Zulip accounts you may have.
+
+Once you deactivate your account, you cannot register in the same organization
+with the email address you used before. If you are re-joining an organization,
+ask an organization administrator to
+[reactivate](/help/deactivate-or-reactivate-a-user#reactivate-a-user) your
+account.
+
+!!! tip ""
+
+ You can find all the Zulip Cloud accounts associated with your email address
+ with the [**Find your accounts**](https://zulip.com/accounts/find/) tool.
+ If you have forgotten your account password, you can
+ [reset it](/help/change-your-password).
+
+
+## Deactivate your account
+
+!!! warn ""
+
+ If you are the only owner in the organization, you cannot
+ deactivate your account. You will need to
+ [add another owner](/help/change-a-users-role) first.
+
{start_tabs}
{settings_tab|account-and-privacy}
@@ -12,33 +38,21 @@
## What happens when you deactivate an account
-* Accounts are local to an organization; so deactivating a Zulip
- account in the `foo.zulipchat.com` organization will have no effect
- on any Zulip account you might have in the `bar.zulipchat.com`
- organization.
-
-* Any bots that you maintain will be disabled.
+* Your [user card](/help/user-cards) will have a notice indicating that your
+ account has been deactivated.
* Deactivating your account won't delete messages you've sent or files
you've shared. If permitted in your organization, delete content you'd
like to remove before deactivating your account.
-* You cannot register a Zulip account using the email address of a
- deactivated account in that organization. If you change your mind
- about deactivating an account, an organization administrator can
- [reactivate](/help/deactivate-or-reactivate-a-user#reactivate-a-user)
- your account at any time.
-
-!!! warn ""
+* Any bots that you maintain will be disabled.
- If you are the only owner in the organization, you cannot
- deactivate your account. You'll need to
- [add another owner](/help/change-a-users-role) first.
## Related articles
-* [Logging in](logging-in)
-* [Logging out](logging-out)
-* [Switching between organizations](switching-between-organizations)
+* [Logging in](/help/logging-in)
+* [Logging out](/help/logging-out)
+* [Change your password](/help/change-your-password)
+* [Switching between organizations](/help/switching-between-organizations)
* [Deactivate or reactivate a user](/help/deactivate-or-reactivate-a-user)
* [Deactivate your organization](/help/deactivate-your-organization)
diff --git a/zerver/tests/test_middleware.py b/zerver/tests/test_middleware.py
index 71c8ef51472..832a11d9a8e 100644
--- a/zerver/tests/test_middleware.py
+++ b/zerver/tests/test_middleware.py
@@ -111,8 +111,11 @@ class OpenGraphTest(ZulipTestCase):
self.check_title_and_description(
"/help/deactivate-your-account",
"Deactivate your account | Zulip help center",
- ["Any bots that you maintain will be disabled. | Deactivating "],
- ["Confirm by clicking", " ", "\n"],
+ [
+ "Deactivating your Zulip account in one organization will have no effect "
+ "on any other Zulip accounts you may have. | Once you deactivate your account"
+ ],
+ ["Approve by clicking", " ", "\n"],
)
def test_tabs(self) -> None: