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

@@ -12,7 +12,6 @@ export default function OrganizationSwitcher({ orgs, activeOrgId }: { orgs: Orga
const [switching, setSwitching] = useState<string | null>(null)
const handleSwitch = async (orgId: string | null) => {
console.log('Switching to organization:', orgId)
setSwitching(orgId || 'personal')
try {
// * If orgId is null, we can't switch context via API in the same way if strict mode is on