fix: 🚑 Fix errors when logging in with incorrect credentials

This commit is contained in:
Jesse Wierzbinski 2024-04-28 13:48:03 -10:00
parent a2a2149776
commit 63cbe6bb82
No known key found for this signature in database
5 changed files with 99 additions and 92 deletions

View file

@ -1,4 +1,5 @@
export const useOAuthProviders = async () => {
if (process.server) return ref([]);
const providers = await fetch(
new URL("/oauth/providers", useBaseUrl().value),
).then((d) => d.json());