Skip to content
This repository has been archived by the owner on Nov 11, 2020. It is now read-only.

Issue using environment variable credentials with $ char #85

Open
giovannicimolin opened this issue Jul 7, 2020 · 0 comments
Open

Issue using environment variable credentials with $ char #85

giovannicimolin opened this issue Jul 7, 2020 · 0 comments

Comments

@giovannicimolin
Copy link

Because how database credentials are imported, if there's a $ character in the password, it'll be truncated and notifier will fail to start.

Steps to reproduce:

  1. Edit the notifier_env file and change the password like this:
export NOTIFIER_DATABASE_PASSWORD="#$S6WRDWjJV"
  1. Using the env, go into django shell with python manage.py shell:
>>> from django.conf import settings
>>> settings.DATABASES['default']['PASSWORD']
'#'
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant