diff --git a/src/routes/oidc.js b/src/routes/oidc.js index 6cd794b71..93dfb7e8a 100644 --- a/src/routes/oidc.js +++ b/src/routes/oidc.js @@ -111,8 +111,6 @@ async function del(req, res, next) { next(new HttpSuccess(204)); } -const tokens = require('../tokens.js'); - async function dashboardLoginCallback(req, res, next) { const [error, token] = await safe(tokens.add({ clientId: tokens.ID_WEBADMIN, identifier: req.user.id, expires: Date.now() + constants.DEFAULT_TOKEN_EXPIRATION_MSECS })); if (error) return next(new HttpError(500, error));