Updated Home (markdown)

master
Aaron Raimist il y a 4 ans
Parent
révision
4395a87f7f
1 fichiers modifiés avec 4 ajouts et 1 suppressions
  1. +4
    -1
      Home.md

+ 4
- 1
Home.md

@@ -1,7 +1,10 @@
How do I become a server admin?
---
If your server already has an admin account you should use the user admin API to promote other accounts to become admins. See https://github.com/matrix-org/synapse/blob/develop/docs/admin_api/user_admin_api.rst#change-whether-a-user-is-a-server-administrator-or-not.

UPDATE users SET admin = 1 WHERE name = '@foo:bar.com'
If you don't have any admin accounts yet you won't be able to use the admin API so you'll have to edit the database manually. Manually editing the database is generally not recommended so once you have an admin account, use the admin APIs to make further changes.

UPDATE users SET admin = 1 WHERE name = '@foo:bar.com';

What servers are my server talking to?
---


Chargement…
Annuler
Enregistrer