mirror of
https://github.com/usatiuk/ustk-todolist.git
synced 2025-10-28 15:47:48 +01:00
clean up google oauth check
This commit is contained in:
@@ -12,7 +12,7 @@ const production = {
|
||||
},
|
||||
googleOAuth: {
|
||||
googleEnabled:
|
||||
process.env.GOOGLE_ENABLED.toUpperCase() === 'TRUE' ? true : false,
|
||||
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