mirror of
https://github.com/usatiuk/ustk-todolist.git
synced 2025-10-28 15:47:48 +01:00
actually check GOOGLE_ENABLED for 'true'
This commit is contained in:
@@ -11,7 +11,7 @@ const production = {
|
||||
'mongodb://localhost/todolist',
|
||||
},
|
||||
googleOAuth: {
|
||||
googleEnabled: process.env.GOOGLE_ENABLED,
|
||||
googleEnabled: process.env.GOOGLE_ENABLED.toUpperCase === 'TRUE',
|
||||
googleClientId: process.env.GOOGLE_CLIENT_ID,
|
||||
googleClientSecret: process.env.GOOGLE_CLIENT_SECRET,
|
||||
googleCallback: `${process.env.HOST}/__/users/login/google/callback`,
|
||||
|
||||
Reference in New Issue
Block a user