瀏覽代碼
Merge pull request #3602 from darkdecoy/missing-semicolon
Update registering-users.md
pull/3604/head
Slavi Pantaleev
1 年之前
committed by
GitHub
沒有發現已知的金鑰在資料庫的簽署中
GPG Key ID: B5690EEEBB952194
共有
1 個文件被更改,包括
1 次插入 和
1 次删除
-
docs/registering-users.md
|
|
|
@@ -71,7 +71,7 @@ If you're opening up registrations publicly like this, you might also wish to [c |
|
|
|
To change the admin privileges for a user, you need to run an SQL query like this against the `synapse` database: |
|
|
|
|
|
|
|
```sql |
|
|
|
UPDATE users SET admin=ADMIN_VALUE WHERE name = '@USER:DOMAIN' |
|
|
|
UPDATE users SET admin=ADMIN_VALUE WHERE name = '@USER:DOMAIN'; |
|
|
|
``` |
|
|
|
|
|
|
|
where: |
|
|
|
|