Skip to content

Commit

Permalink
Update setup-auth.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Dogtiti authored May 21, 2023
1 parent 78055a6 commit eb061c0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion setup-auth.sh
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,10 @@ NEXTAUTH_SECRET=$(openssl rand -base64 32)
# Disable guest mode when auth enable
NEXT_PUBLIC_GUEST_KEY=''

ENV="NEXTAUTH_SECRET=$NEXTAUTH_SECRET\n\
# Enable auth
NEXT_PUBLIC_FF_AUTH_ENABLED=true

ENV="NEXT_PUBLIC_FF_AUTH_ENABLED=$NEXT_PUBLIC_FF_AUTH_ENABLED\n\
OPENAI_API_KEY=$OPENAI_API_KEY\n\
DATABASE_URL=${DATABASE_URL}\n\
GITHUB_CLIENT_ID=${GITHUB_CLIENT_ID}\n\
Expand Down

0 comments on commit eb061c0

Please sign in to comment.