feat: User onboarding finished
This commit is contained in:
@@ -27,4 +27,13 @@ export const authRoutes: FastifyPluginAsync = async (
|
||||
preHandler: [fastify.authenticate],
|
||||
handler: authController.resendVerification.bind(authController),
|
||||
});
|
||||
|
||||
// POST /api/auth/resend-verification-public - Resend verification by email (public, no JWT)
|
||||
fastify.post('/auth/resend-verification-public', authController.resendVerificationPublic.bind(authController));
|
||||
|
||||
// GET /api/auth/user-status - Get user status for routing (requires JWT, verification exempt)
|
||||
fastify.get('/auth/user-status', {
|
||||
preHandler: [fastify.authenticate],
|
||||
handler: authController.getUserStatus.bind(authController),
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user