Feat: Org scoped JWT's

This commit is contained in:
Daniel Hougaard
2024-03-12 15:42:10 +01:00
parent 7e2685d604
commit 1e20d780ec

View File

@ -266,7 +266,7 @@ export const registerRoutes = async (
const tokenService = tokenServiceFactory({ tokenDAL: authTokenDAL, userDAL });
const userService = userServiceFactory({ userDAL });
const loginService = authLoginServiceFactory({ userDAL, smtpService, tokenService });
const loginService = authLoginServiceFactory({ userDAL, smtpService, tokenService, orgDAL, tokenDAL: authTokenDAL });
const passwordService = authPaswordServiceFactory({
tokenService,
smtpService,