mirror of
https://github.com/documenso/documenso.git
synced 2025-11-13 08:13:56 +10:00
fix: add conditional rendering of OAuth providers (#736)
Now google OAuth provider is not rendered if client id is not provided
This commit is contained in:
@ -1 +1,5 @@
|
||||
export const SALT_ROUNDS = 12;
|
||||
|
||||
export const IS_GOOGLE_SSO_ENABLED = Boolean(
|
||||
process.env.NEXT_PRIVATE_GOOGLE_CLIENT_ID && process.env.NEXT_PRIVATE_GOOGLE_CLIENT_SECRET,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user