mirror of
https://github.com/maubot/maubot
synced 2025-08-29 12:10:38 +00:00
parent
5337d4d98e
commit
332ad5ea52
13 changed files with 238 additions and 36 deletions
|
@ -47,6 +47,7 @@ class Config(BaseFileConfig):
|
|||
base["server.unshared_secret"] = self._new_token()
|
||||
else:
|
||||
base["server.unshared_secret"] = shared_secret
|
||||
copy("registration_secrets")
|
||||
copy("admins")
|
||||
for username, password in base["admins"].items():
|
||||
if password and not bcrypt_regex.match(password):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue