KamoCRM

Use pre-authenticated session from OTKPreAuthFilter in getMyNetworks

FixSecurityService
Shipped
16 நவம்பர், 2025 அன்று 1:22 AM UTC
Author
snadjafinia
Commit
2e3e23a

- Fixed 401 error by checking for pre-authenticated session from OTKPreAuthFilter first - OTKPreAuthFilter already validates and consumes OTK, so controller should use the session it provides - Falls back to *** cookie validation for direct requests without OTK - This matches the pattern used in other controllers (MemberController, DepartmentController, ImagingController)

All changes

Like what you see shipping?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing