mirror of
https://github.com/fosrl/pangolin.git
synced 2025-08-04 10:05:53 +02:00
fix minor auth issues and set NODE_ENV to solve react email bug
This commit is contained in:
parent
8178dd1525
commit
c2cbd7e1a1
10 changed files with 75 additions and 90 deletions
|
@ -121,7 +121,7 @@ export async function verifyResourceSession(
|
|||
|
||||
const resourceSessionToken =
|
||||
sessions[
|
||||
`${config.badger.resource_session_cookie_name}_${resource.resourceId}`
|
||||
`${config.server.resource_session_cookie_name}_${resource.resourceId}`
|
||||
];
|
||||
|
||||
if ((pincode || password) && resourceSessionToken) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue