summary refs log tree commit diff
path: root/synapse/handlers
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/handlers')
-rw-r--r--synapse/handlers/auth.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/auth.py b/synapse/handlers/auth.py
index 9fa8347098..85f9b82712 100644
--- a/synapse/handlers/auth.py
+++ b/synapse/handlers/auth.py
@@ -292,7 +292,7 @@ class AuthHandler(BaseHandler):
         if not session_id:
             # create a new session
             while session_id is None or session_id in self.sessions:
-                session_id = stringutils.random_string_with_symbols(24)
+                session_id = stringutils.random_string(24)
             self.sessions[session_id] = {
                 "id": session_id,
             }