You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because the GitHub login throws an error, a Django debug page is shown and your environment variables are there to see for public. Nothing sensitive (no SECRET_KEY and all), but still.
To reproduce:
Behaviour
Because the GitHub login throws an error, a Django debug page is shown and your environment variables are there to see for public. Nothing sensitive (no SECRET_KEY and all), but still.
Expected behaviour
An error 500 screen should be shown.
Suggested solution
Currently the production settings are probably using the regular settings file with
DEBUG=True
hard-coded in them:https://github.com/Cloud-CV/Fabrik/blob/master/settings/common.py
line 14
Either make a separate production settings file or read the DEBUG setting from an environment variable:
DEBUG=os.getenv('DEBUG', default_value)
The text was updated successfully, but these errors were encountered: