msgid "Option 1 (if you are using the integrated Postgres database):"
msgstr ""
#: ../../../docs/updating-users-passwords.md:5
msgid "**Notes**:"
msgstr ""
#: ../../../docs/updating-users-passwords.md:6
msgid "Make sure to adjust `USERNAME_HERE` and `PASSWORD_HERE`"
msgstr ""
#: ../../../docs/updating-users-passwords.md:7
msgid "For `USERNAME_HERE`, use a plain username like `alice`, not a full ID (`@alice:example.com`)"
msgstr ""
#: ../../../docs/updating-users-passwords.md:9
msgid "You can reset a user's password via the Ansible playbook:"
msgstr ""
#: ../../../docs/updating-users-passwords.md:15
msgid "**You can then log in with that user** via Element Web that this playbook has created for you at a URL like this: `https://element.example.com/`."
msgstr ""
#: ../../../docs/updating-users-passwords.md:17
msgid "Option 2 (if you are using an external Postgres server):"
msgstr ""
#: ../../../docs/updating-users-passwords.md:19
msgid "You can manually generate the password hash by using the command-line after **SSH**-ing to your server (requires that [all services have been started](installing.md#finalize-the-installation):"
msgstr ""
#: ../../../docs/updating-users-passwords.md:25
msgid "and then connecting to the postgres server and executing:"
msgstr ""
#: ../../../docs/updating-users-passwords.md:31
msgid "where `<password-hash>` is the hash returned by the docker command above."
msgstr ""
#: ../../../docs/updating-users-passwords.md:33
msgid "Option 3:"
msgstr ""
#: ../../../docs/updating-users-passwords.md:35
msgid "Use the Synapse User Admin API as described here: https://github.com/element-hq/synapse/blob/master/docs/admin_api/user_admin_api.rst#reset-password"
msgstr ""
#: ../../../docs/updating-users-passwords.md:37
msgid "This requires an [access token](obtaining-access-tokens.md) from a server admin account. *This method will also log the user out of all of their clients while the other options do not.*"
msgstr ""
#: ../../../docs/updating-users-passwords.md:39
msgid "If you didn't make your account a server admin when you created it, you can learn how to switch it now by reading about it in [Adding/Removing Administrator privileges to an existing user in Synapse](registering-users.md#addingremoving-administrator-privileges-to-an-existing-user-in-synapse)."
msgstr ""
#: ../../../docs/updating-users-passwords.md:41
msgid "Example:"
msgstr ""
#: ../../../docs/updating-users-passwords.md:43
msgid "To set @alice:example.com's password to `correct_horse_battery_staple` you could use this curl command:"