Lint
This commit is contained in:
parent
b3e7080215
commit
1c4fc21870
1 changed files with 2 additions and 1 deletions
|
@ -131,7 +131,8 @@ export default function (
|
||||||
} else {
|
} else {
|
||||||
user = await getUser(userId, session.tenantId)
|
user = await getUser(userId, session.tenantId)
|
||||||
}
|
}
|
||||||
;(user as any).csrfToken = session.csrfToken
|
// @ts-ignore
|
||||||
|
user.csrfToken = session.csrfToken
|
||||||
|
|
||||||
if (session?.lastAccessedAt < timeMinusOneMinute()) {
|
if (session?.lastAccessedAt < timeMinusOneMinute()) {
|
||||||
// make sure we denote that the session is still in use
|
// make sure we denote that the session is still in use
|
||||||
|
|
Loading…
Reference in a new issue