aboutsummaryrefslogtreecommitdiff
path: root/keyserver/storage/postgres/key_changes_table.go
diff options
context:
space:
mode:
authorTill <2353100+S7evinK@users.noreply.github.com>2023-02-17 11:39:46 +0100
committerGitHub <noreply@github.com>2023-02-17 11:39:46 +0100
commitf0805071d54b3fdcc8e8d4c5f4238ae0af1bad77 (patch)
tree9166c87eb19ad84b66ff05a42312d07ca28f7977 /keyserver/storage/postgres/key_changes_table.go
parent11d9b9db0e96c51c1430d451d23cf5ae9f36e4ee (diff)
Fix SQLite `session_id` (#2977)
This fixes an issue with device_id/session_ids. If a `device_id` is reused, we would reuse the same `session_id`, since we delete one device and insert a new one directly, resulting in the query to get a new `session_id` to return the previous session_id. (`SELECT count(access_token)`)
Diffstat (limited to 'keyserver/storage/postgres/key_changes_table.go')
0 files changed, 0 insertions, 0 deletions