Make sure we update the wsID, even on an existing registrationt
This commit is contained in:
parent
15a2b59637
commit
aa0ceab4d3
1 changed files with 3 additions and 0 deletions
|
@ -276,6 +276,9 @@ def post_registerCheck() -> Any:
|
||||||
# they've already registered, return the existing session
|
# they've already registered, return the existing session
|
||||||
print("found existing connection {} for {}".format(conn["connid"], conn["timeslotid"]))
|
print("found existing connection {} for {}".format(conn["connid"], conn["timeslotid"]))
|
||||||
connection = conn
|
connection = conn
|
||||||
|
# make sure we update their wsID
|
||||||
|
if "wsid" in content:
|
||||||
|
connection["wsid"] = content["wsid"]
|
||||||
|
|
||||||
new_connection = False
|
new_connection = False
|
||||||
if connection is None:
|
if connection is None:
|
||||||
|
|
Loading…
Reference in a new issue