mirror of
https://github.com/wassname/Open-Assistant.git
synced 2026-07-13 00:50:06 +08:00
Merge pull request #169 from LAION-AI/fix-discord-auth
Fixing discord signin
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user