mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-10 17:48:50 +08:00
Optionally configure gmail client secret with env var (#2454)
This commit is contained in:
parent
8ea2a61fed
commit
89047ad768
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ export const GMAIL_CLIENT_ID =
|
|||
// Note: This is not a security risk for the end-user -- it just means someone could "fork" Mailspring and re-use it's
|
||||
// Client ID and Secret. For now, it seems we're on the honor code - Please don't do this.
|
||||
//
|
||||
export const GMAIL_CLIENT_SECRET = crypto
|
||||
export const GMAIL_CLIENT_SECRET = process.env.MS_GMAIL_CLIENT_SECRET || crypto
|
||||
.createDecipheriv(
|
||||
'aes-256-ctr',
|
||||
"don't-be-ev1l-thanks--mailspring",
|
||||
|
|
Loading…
Reference in a new issue