Ajuste usuarios - Inicio agenda

This commit is contained in:
Leonardo
2026-02-23 18:57:40 -03:00
parent 89b4ecaba1
commit b1c0cb47c0
11 changed files with 2244 additions and 576 deletions

View File

@@ -108,6 +108,11 @@ async function onSubmit () {
// ✅ fonte de verdade: tenant_members (rpc my_tenants)
await tenant.loadSessionAndTenant()
console.log('[LOGIN] tenant.user', tenant.user)
console.log('[LOGIN] memberships', tenant.memberships)
console.log('[LOGIN] activeTenantId', tenant.activeTenantId)
console.log('[LOGIN] activeRole', tenant.activeRole)
if (!tenant.user) {
authError.value = 'Não foi possível obter a sessão após login.'