SMTP-Credentials und E_Mail-Adressen verschlüsselt abgelegt

This commit is contained in:
concierge committed 2026-11-16 15:43:51 +01:00
1 parent 781aa20253
commit 66659d9a23
32 files changed
+3276 -132

No files matched your search

+2
View File
@@ -102,6 +102,8 @@ func (s *Store) DeleteAllTenantData(ctx context.Context, tenantID string) error
"DELETE FROM dispatch_preferences WHERE tenant_id=?",
"DELETE FROM dispatch_log WHERE tenant_id=?",
"DELETE FROM tenant_settings WHERE tenant_id=?",
"DELETE FROM secrets WHERE tenant_id=?",
"DELETE FROM key_wrappers WHERE tenant_id=? AND scope_type='person'",
}
for _, statement := range statements {
if _, err := tx.ExecContext(ctx, statement, tenantID); err != nil {