mirror of
https://github.com/fosrl/pangolin.git
synced 2026-07-19 20:16:32 +02:00
Fix missing resource id in cache
This commit is contained in:
@@ -418,7 +418,7 @@ export async function verifyResourceSession(
|
||||
}
|
||||
|
||||
// check for HTTP Basic Auth header
|
||||
const clientHeaderAuthKey = `headerAuth:${clientHeaderAuth}`;
|
||||
const clientHeaderAuthKey = `headerAuth:${resource.resourceId}:${clientHeaderAuth}`;
|
||||
if (headerAuth && clientHeaderAuth) {
|
||||
if (localCache.get(clientHeaderAuthKey)) {
|
||||
logger.debug(
|
||||
|
||||
Reference in New Issue
Block a user