Default credential auth to true, readme updates

This commit is contained in:
Max Leiter 2022-12-18 13:53:05 -08:00
parent f07f4789ee
commit a97ba1b9aa
3 changed files with 32 additions and 21 deletions

View file

@ -78,7 +78,7 @@ export const config = (env: Environment): Config => {
github_client_id: env.GITHUB_CLIENT_ID ?? "",
github_client_secret: env.GITHUB_CLIENT_SECRET ?? "",
nextauth_secret: throwIfUndefined("NEXTAUTH_SECRET"),
credential_auth: stringToBoolean("CREDENTIAL_AUTH")
credential_auth: stringToBoolean("CREDENTIAL_AUTH") ?? true
}
return config
}