mirror of
https://github.com/fosrl/pangolin.git
synced 2025-08-31 23:10:00 +02:00
refactor auth to work cross domain and with http resources closes #100
This commit is contained in:
parent
641b65cfab
commit
b62d198416
27 changed files with 688 additions and 201 deletions
|
@ -313,6 +313,10 @@ export const resourceSessions = sqliteTable("resourceSessions", {
|
|||
doNotExtend: integer("doNotExtend", { mode: "boolean" })
|
||||
.notNull()
|
||||
.default(false),
|
||||
isRequestToken: integer("isRequestToken", { mode: "boolean" }),
|
||||
userSessionId: text("userSessionId").references(() => sessions.sessionId, {
|
||||
onDelete: "cascade"
|
||||
}),
|
||||
passwordId: integer("passwordId").references(
|
||||
() => resourcePassword.passwordId,
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue