chat-ui
Session management improvements: Multi sessions, renew on login/logout
#603
Merged

Session management improvements: Multi sessions, renew on login/logout #603

nsarrazin merged 13 commits into main from feat/change_sessionid_on_login
nsarrazin
nsarrazin wip: update sessionId on every login
8732e1b0
coyotte508
coyotte508 commented on 2023-11-30
nsarrazin Merge branch 'main' into feat/change_sessionid_on_login
85d76b25
nsarrazin comment out object.freeze
b994c3ee
nsarrazin only refresh cookies on post
d767a154
nsarrazin Add support for multiple sessions per user
b2998efc
nsarrazin
nsarrazin nsarrazin marked this pull request as draft 2 years ago
nsarrazin nsarrazin changed the title wip: update sessionId on every login Session management improvements: Multi sessions, renew on login/logout 2 years ago
nsarrazin nsarrazin added enhancement
nsarrazin nsarrazin added back
nsarrazin fix tests
aee499c2
nsarrazin nsarrazin marked this pull request as ready for review 2 years ago
nsarrazin nsarrazin requested a review from coyotte508 coyotte508 2 years ago
nsarrazin
coyotte508 🛂 Hash sessionId in DB
603aaeae
coyotte508
coyotte508 commented on 2023-12-01
coyotte508 🐛 do not forget about event.locals.sessionId
767bc904
nsarrazin Update src/lib/server/auth.ts
0bb5ab6e
nsarrazin Add `expiresAt` field
3e54951a
nsarrazin remove index causing errors
90f77794
coyotte508
coyotte508 approved these changes on 2023-12-01
nsarrazin Fix bug where sessions were not properly being deleted on logout
fa4738cb
nsarrazin Moved session refresh outside of form content check
dbc045f0
nsarrazin
nsarrazin nsarrazin merged e4a770a2 into main 2 years ago
nsarrazin nsarrazin deleted the feat/change_sessionid_on_login branch 2 years ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone