feature/implementacion de hub en EFC
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user