mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-27 12:08:32 +03:00
string with symbols is a bit too symboly.
This commit is contained in:
parent
9671e6750c
commit
3176aebf9d
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue