feature/implementacion de hub en EFC

This commit is contained in:
2026-06-08 07:19:29 -06:00
parent 6e2634d11b
commit 1c6b07be58
23 changed files with 2178 additions and 1039 deletions

View File

@@ -91,7 +91,8 @@ export default function Users() {
localStorage.removeItem('user_first_name');
localStorage.removeItem('user_last_name');
localStorage.removeItem('user_is_importador');
window.location.href = '/login';
const _hub = import.meta.env.VITE_HUB_URL || 'http://localhost:3001';
window.location.href = `${_hub}/login?return_to=${encodeURIComponent(window.location.origin + '/auth/sso')}`;
return;
}