mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-12 07:04:20 -05:00
Merge pull request #4657 from matrix-org/travis/linda/spelling
Fix spelling mistakes
This commit is contained in:
commit
4151111d95
@ -39,7 +39,7 @@ instructions that may be required are listed later in this document.
|
|||||||
./synctl restart
|
./synctl restart
|
||||||
|
|
||||||
|
|
||||||
To check whether your update was sucessful, you can check the Server header
|
To check whether your update was successful, you can check the Server header
|
||||||
returned by the Client-Server API:
|
returned by the Client-Server API:
|
||||||
|
|
||||||
.. code:: bash
|
.. code:: bash
|
||||||
|
1
changelog.d/4657.misc
Normal file
1
changelog.d/4657.misc
Normal file
@ -0,0 +1 @@
|
|||||||
|
Fix various spelling mistakes.
|
@ -56,7 +56,7 @@ class KeyConfig(Config):
|
|||||||
if not self.macaroon_secret_key:
|
if not self.macaroon_secret_key:
|
||||||
# Unfortunately, there are people out there that don't have this
|
# Unfortunately, there are people out there that don't have this
|
||||||
# set. Lets just be "nice" and derive one from their secret key.
|
# set. Lets just be "nice" and derive one from their secret key.
|
||||||
logger.warn("Config is missing missing macaroon_secret_key")
|
logger.warn("Config is missing macaroon_secret_key")
|
||||||
seed = bytes(self.signing_key[0])
|
seed = bytes(self.signing_key[0])
|
||||||
self.macaroon_secret_key = hashlib.sha256(seed).digest()
|
self.macaroon_secret_key = hashlib.sha256(seed).digest()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user