register-new-matrix-user: add a flag to ignore already existing users (#17304)

Co-authored-by: Andrew Morgan <andrew@amorgan.xyz>
This commit is contained in:
Jörg Thalheim
2024-06-19 13:03:08 +02:00
committed by GitHub
parent 9104a9f0d0
commit c99203d98c
4 changed files with 34 additions and 3 deletions

View File

@@ -48,6 +48,9 @@ A sample YAML file accepted by `register_new_matrix_user` is described below:
Shared secret as defined in server config file. This is an optional
parameter as it can be also supplied via the YAML file.
* `--exists-ok`:
Do not fail if the user already exists. The user account will be not updated in this case.
* `server_url`:
URL of the home server. Defaults to 'https://localhost:8448'.