Fix AuthAuthenticated email access

This commit is contained in:
Leon Bösche
2026-01-08 21:42:04 +01:00
parent 7adde54a41
commit 6a01fe84ac

View File

@@ -196,7 +196,7 @@ class _HomePageState extends State<HomePage> with TickerProviderStateMixin {
return FileExplorer(orgId: state.selectedOrg!.id);
} else if (authState is AuthAuthenticated) {
// Show personal workspace using user's email as workspace ID
return FileExplorer(orgId: authState.user.email ?? 'personal');
return FileExplorer(orgId: authState.email);
} else {
return const FileExplorer(orgId: 'personal');
}