summary refs log tree commit diff
path: root/synapse/handlers
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2016-03-16 15:55:49 +0000
committerDavid Baker <dave@matrix.org>2016-03-16 15:55:49 +0000
commit3176aebf9d827eeb939438deea49e12ceddc5b3e (patch)
tree534297c3d32a30ec6a5abd5b4da1f3c38a7c7288 /synapse/handlers
parentReplace other time.time(). (diff)
downloadsynapse-3176aebf9d827eeb939438deea49e12ceddc5b3e.tar.xz
string with symbols is a bit too symboly.
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,
             }