feat: user export service. bug and UX fixes. Complete minus outstanding email template fixes.

This commit is contained in:
Eric Gullickson
2025-12-26 14:06:03 -06:00
parent 8c13dc0a55
commit fb52ce398b
35 changed files with 1686 additions and 118 deletions

View File

@@ -36,4 +36,16 @@ export const authRoutes: FastifyPluginAsync = async (
preHandler: [fastify.authenticate],
handler: authController.getUserStatus.bind(authController),
});
// GET /api/auth/security-status - Get security status (requires JWT)
fastify.get('/auth/security-status', {
preHandler: [fastify.authenticate],
handler: authController.getSecurityStatus.bind(authController),
});
// POST /api/auth/request-password-reset - Request password reset email (requires JWT)
fastify.post('/auth/request-password-reset', {
preHandler: [fastify.authenticate],
handler: authController.requestPasswordReset.bind(authController),
});
};