docs: Add macro for import docs "logging in" section.

Fixes #9550.
This commit is contained in:
Rhea Parekh 2018-05-31 20:15:35 +05:30 committed by Tim Abbott
parent d0ad6295fa
commit ae71aa6084
3 changed files with 24 additions and 44 deletions

View File

@ -60,28 +60,7 @@ cd /home/zulip/deployments/current
./manage.py import --import-into-nonempty <subdomain> converted_slack_data ./manage.py import --import-into-nonempty <subdomain> converted_slack_data
``` ```
## Logging in {!import-login.md!}
Once the import completes, all your users will have accounts in your
new Zulip organization, but those accounts won't have passwords yet
(since for very good security reasons, passwords are not exported).
Your users will need to either authenticate using something like
Google auth, or start by resetting their passwords.
You can use the `./manage.py send_password_reset_email` command to
send password reset emails to your users. We
recommend starting with sending one to yourself for testing:
```
./manage.py send_password_reset_email -u username@example.com
```
and then once you're ready, you can email them to everyone using e.g.
```
./manage.py send_password_reset_email -r '' --all-users
```
(replace `''` with your subdomain if you're using one).
## Caveats ## Caveats

View File

@ -78,25 +78,4 @@ cd /home/zulip/deployments/current
./manage reactivate_realm -r '' # Reactivates the organization ./manage reactivate_realm -r '' # Reactivates the organization
``` ```
## Logging in {!import-login.md!}
Once the import completes, all your users will have accounts in your
new Zulip organization, but those accounts won't have passwords yet
(since for very good security reasons, passwords are not exported).
Your users will need to either authenticate using something like
Google auth, or start by resetting their passwords.
You can use the `./manage.py send_password_reset_email` command to
send password reset emails to your users. We
recommend starting with sending one to yourself for testing:
```
./manage.py send_password_reset_email -u username@example.com
```
and then once you're ready, you can email them to everyone using e.g.
```
./manage.py send_password_reset_email -r '' --all-users
```
(replace `''` with your subdomain if you're using one).

View File

@ -0,0 +1,22 @@
## Logging in
Once the import completes, all your users will have accounts in your
new Zulip organization, but those accounts won't have passwords yet
(since for very good security reasons, passwords are not exported).
Your users will need to either authenticate using something like
Google auth, or start by resetting their passwords.
You can use the `./manage.py send_password_reset_email` command to
send password reset emails to your users. We
recommend starting with sending one to yourself for testing:
```
./manage.py send_password_reset_email -u username@example.com
```
and then once you're ready, you can email them to everyone using e.g.
```
./manage.py send_password_reset_email -r '' --all-users
```
(replace `''` with your subdomain if you're using one).