Merge pull request #169 from LAION-AI/fix-discord-auth

Fixing discord signin
This commit is contained in:
AbdBarho
2022-12-30 08:26:56 +01:00
committed by GitHub
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
# The database created by running the jobs in /scripts/frontend-development/docker-compose.yaml
DATABASE_URL=postgres://postgres:postgres@localhost:5433/ocgpt_website
DATABASE_URL=postgres://postgres:postgres@localhost:5433/oasst_web
# The FastAPI backend found by running the jobs in /scripts/frontend-development/docker-compose.yaml
FASTAPI_URL=http://localhost:8080
+1 -1
View File
@@ -60,7 +60,7 @@ export default function Signin({ csrfToken, providers }) {
size="lg"
leftIcon={<FaDiscord />}
color="white"
onClick={() => signIn(discord, { callbackUrl: "/" })}
onClick={() => signIn(discord.id, { callbackUrl: "/" })}
// isDisabled="false"
>
Continue with Discord