Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
generate_secrets is a bool.
Browse files Browse the repository at this point in the history
  • Loading branch information
clokep committed Apr 7, 2022
1 parent d86adae commit 8c0aa09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion synapse/config/registration.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ def read_config(self, config: JsonDict, **kwargs: Any) -> None:
self.inhibit_user_in_use_error = config.get("inhibit_user_in_use_error", False)

def generate_config_section(
self, generate_secrets: Optional[bool] = False, **kwargs: Any
self, generate_secrets: bool = False, **kwargs: Any
) -> str:
if generate_secrets:
registration_shared_secret = 'registration_shared_secret: "%s"' % (
Expand Down

0 comments on commit 8c0aa09

Please sign in to comment.