Skip to content

Commit d7df590

Browse files
authored
fix(app2): enable twitter auth again (#4616)
2 parents 63c05b7 + c35ce1f commit d7df590

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

app2/src/routes/auth/sign-in/+page.svelte

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const providers: Array<AuthProvider> = [
2020
icon:
2121
`<path fill="currentColor" d="m17.687 3.063l-4.996 5.711l-4.32-5.711H2.112l7.477 9.776l-7.086 8.099h3.034l5.469-6.25l4.78 6.25h6.102l-7.794-10.304l6.625-7.571zm-1.064 16.06L5.654 4.782h1.803l10.846 14.34z"/>`,
2222
iconColor: "text-white",
23-
disabled: true,
23+
disabled: false,
2424
},
2525
{
2626
id: "github",
@@ -68,7 +68,6 @@ function handleLogin(provider: AuthProvider) {
6868
class="w-full flex items-center justify-center gap-3 h-11 relative hover:translate-y-[1px] transition-all {provider.disabled ? 'opacity-30 cursor-not-allowed' : ''}"
6969
disabled={provider.disabled || loading}
7070
onclick={() => handleLogin(provider)}
71-
title={provider.disabled ? `${provider.name} is temporarily disabled` : ""}
7271
>
7372
<svg
7473
class="w-5 h-5 {provider.iconColor} {loading ? 'opacity-70' : ''}"
@@ -77,7 +76,7 @@ function handleLogin(provider: AuthProvider) {
7776
{@html provider.icon}
7877
</svg>
7978
<span class={loading ? "opacity-70" : ""}>
80-
{#if provider.id === "twitter" && provider.disabled}
79+
{#if provider.disabled}
8180
Outage, check back later
8281
{:else}
8382
Continue with {provider.name}

0 commit comments

Comments
 (0)