clean up google oauth check

This commit is contained in:
2018-09-26 00:15:25 +03:00
parent ef3205ee04
commit 5a47643f37

View File

@@ -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`,