fix: working code + updated my package passport-simple-webauthn2

This commit is contained in:
Ruben Talstra 2025-02-12 21:49:39 +01:00
parent 1e1b865f4f
commit 8ea085ee25
Failed to extract signature
4 changed files with 119 additions and 161 deletions

View file

@ -21,8 +21,8 @@ const AppService = require('./services/AppService');
const staticCache = require('./utils/staticCache');
const noIndex = require('./middleware/noIndex');
const routes = require('./routes');
const { WebAuthnStrategy } = require('passport-simple-webauthn2');
const { mongoUserStore, mongoChallengeStore } = require('~/cache');
const { WebAuthnStrategy } = require('passport-simple-webauthn2');
const { PORT, HOST, ALLOW_SOCIAL_LOGIN, DISABLE_COMPRESSION } = process.env ?? {};