fix: remove debug logs from authentication and organization switching to enhance security and prevent sensitive information leakage

This commit is contained in:
Usman Baig
2026-02-22 20:18:06 +01:00
parent 18d9f59e5d
commit 1947c6a886
5 changed files with 1 additions and 10 deletions

View File

@@ -159,7 +159,6 @@ export function AuthProvider({ children }: { children: React.ReactNode }) {
// * If user has organizations but no context (org_id), switch to the first one
if (!user.org_id && organizations.length > 0) {
const firstOrg = organizations[0]
console.log('Auto-switching to organization:', firstOrg.organization_name)
try {
const { access_token } = await switchContext(firstOrg.organization_id)