diff options
author | Till <2353100+S7evinK@users.noreply.github.com> | 2023-02-17 11:39:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-17 11:39:46 +0100 |
commit | f0805071d54b3fdcc8e8d4c5f4238ae0af1bad77 (patch) | |
tree | 9166c87eb19ad84b66ff05a42312d07ca28f7977 /userapi/storage/postgres/key_backup_table.go | |
parent | 11d9b9db0e96c51c1430d451d23cf5ae9f36e4ee (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 'userapi/storage/postgres/key_backup_table.go')
0 files changed, 0 insertions, 0 deletions