diff --git a/ui/src/helpers/loginWithOauth.ts b/ui/src/helpers/loginWithOauth.ts index 4deea66..a004148 100644 --- a/ui/src/helpers/loginWithOauth.ts +++ b/ui/src/helpers/loginWithOauth.ts @@ -11,7 +11,6 @@ export default function loginWithOauth(e: Event, providerName: string, oAuthData store.set("provider", provider); const redirectUrl = location.origin + URLS.OAUTH2_REDIRECT; - console.log(provider.authUrl + redirectUrl); window.location.href = provider.authUrl + redirectUrl; break; } diff --git a/ui/src/routes/Dashboards/User.tsx b/ui/src/routes/Dashboards/User.tsx index ffa6caa..ec1fb2a 100644 --- a/ui/src/routes/Dashboards/User.tsx +++ b/ui/src/routes/Dashboards/User.tsx @@ -28,8 +28,6 @@ export default function User() { return; } - console.log(model?.id) - pocketbase.collection('users').delete(model?.id as string).then(() => { pocketbase.authStore?.clear(); navigate(URLS.HOME);