DbGate
Log In
{ enableApi(); const resp = await apiCall('auth/login', e.detail); if (resp.error) { internalRedirectTo(`/?page=not-logged&error=${encodeURIComponent(resp.error)}`); return; } const { accessToken } = resp; if (accessToken) { localStorage.setItem('accessToken', accessToken); internalRedirectTo('/'); return; } internalRedirectTo(`/?page=not-logged`); }} />