Skip to content

Commit

Permalink
add one more variable in secure text function (UsergeTeam#405)
Browse files Browse the repository at this point in the history
* please add CUSTOM_PLUGINS_REPO to secure vars, to avoid leaking access token if we are using private repositories

* Update sys_tools.py
  • Loading branch information
SpEcHiDe authored Dec 8, 2021
1 parent 1816d06 commit eb3a704
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions userge/utils/sys_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
_SECURE = [
# critical
'API_ID', 'API_HASH', 'BOT_TOKEN', 'HU_STRING_SESSION', 'DATABASE_URL', 'HEROKU_API_KEY',
'CUSTOM_PLUGINS_REPO',
# others
'USERGE_ANTISPAM_API', 'SPAM_WATCH_API', 'CURRENCY_API', 'OCR_SPACE_API_KEY',
'REMOVE_BG_API_KEY', 'G_DRIVE_CLIENT_ID', 'G_DRIVE_CLIENT_SECRET',
Expand Down

0 comments on commit eb3a704

Please sign in to comment.