mirror of
https://github.com/versia-pub/frontend.git
synced 2026-03-13 03:29:16 +01:00
fix: 🚑 Fix errors when logging in with incorrect credentials
This commit is contained in:
parent
a2a2149776
commit
63cbe6bb82
5 changed files with 99 additions and 92 deletions
|
|
@ -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());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue