summary refs log tree commit diff
path: root/synapse/config
diff options
context:
space:
mode:
authorPatrick Cloke <patrickc@matrix.org>2021-02-12 11:01:48 -0500
committerPatrick Cloke <patrickc@matrix.org>2021-02-12 11:14:12 -0500
commit7950aa8a27c3f45184c96fda210c62d068dd2591 (patch)
treebdbb8b61fa05020fdf800818066a8dc1a230da8b /synapse/config
parentMerge tag 'v1.27.0rc2' into develop (diff)
downloadsynapse-7950aa8a27c3f45184c96fda210c62d068dd2591.tar.xz
Fix some typos.
Diffstat (limited to 'synapse/config')
-rw-r--r--synapse/config/auth.py2
-rw-r--r--synapse/config/room_directory.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/synapse/config/auth.py b/synapse/config/auth.py
index 2b3e2ce87b..1f4c090cde 100644
--- a/synapse/config/auth.py
+++ b/synapse/config/auth.py
@@ -98,7 +98,7 @@ class AuthConfig(Config):
             # session to be active.
             #
             # This defaults to 0, meaning the user is queried for their credentials
-            # before every action, but this can be overridden to alow a single
+            # before every action, but this can be overridden to allow a single
             # validation to be re-used.  This weakens the protections afforded by
             # the user-interactive authentication process, by allowing for multiple
             # (and potentially different) operations to use the same validation session.
diff --git a/synapse/config/room_directory.py b/synapse/config/room_directory.py
index 9a3e1c3e7d..2dd719c388 100644
--- a/synapse/config/room_directory.py
+++ b/synapse/config/room_directory.py
@@ -123,7 +123,7 @@ class RoomDirectoryConfig(Config):
             alias (str)
 
         Returns:
-            boolean: True if user is allowed to crate the alias
+            boolean: True if user is allowed to create the alias
         """
         for rule in self._alias_creation_rules:
             if rule.matches(user_id, room_id, [alias]):