mirror of
https://github.com/usatiuk/ustk-todolist.git
synced 2025-10-28 23:57:49 +01:00
clean up google oauth check
This commit is contained in:
@@ -12,7 +12,7 @@ const production = {
|
|||||||
},
|
},
|
||||||
googleOAuth: {
|
googleOAuth: {
|
||||||
googleEnabled:
|
googleEnabled:
|
||||||
process.env.GOOGLE_ENABLED.toUpperCase() === 'TRUE' ? true : false,
|
process.env.GOOGLE_ENABLED.toUpperCase() === 'TRUE',
|
||||||
googleClientId: process.env.GOOGLE_CLIENT_ID,
|
googleClientId: process.env.GOOGLE_CLIENT_ID,
|
||||||
googleClientSecret: process.env.GOOGLE_CLIENT_SECRET,
|
googleClientSecret: process.env.GOOGLE_CLIENT_SECRET,
|
||||||
googleCallback: `${process.env.HOST}/__/users/login/google/callback`,
|
googleCallback: `${process.env.HOST}/__/users/login/google/callback`,
|
||||||
|
|||||||
Reference in New Issue
Block a user