Skip to content

config.cfg not applied after changing PASSWORD in config.cfg #309

@majinman

Description

@majinman

Describe the bug
I followed documentation. To change login account for dashboard, I generated config.cfg and set that file like below.
But it didn't work. It seems that application find config.cfg because when I type wrong filename, the error occurs.

application = Flask(__name__, template_folder='admin/templates')
dashboard.config.init_from(file='/config.cfg')
dashboard.bind(application)

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: MacOS 10.14.6
  • Browser [e.g. chrome, safari]
  • FMD Version [e.g. 2.1.4]

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions