Project

General

Profile

Segnalazione #934

Dare un messaggio di errore quando si cerca di accedere all'auth-forwarding senza un secret configurato

Added by Elena Grandi almost 5 years ago.

Status:
Nuovo
Priority:
Normale
Assignee:
-
Target version:
Start date:
12/05/2019
Due date:
% Done:

0%

Estimated time:
Resolution:

Description

Al momento muore con un Internal Server Error e

[...]
File "/usr/lib/python3/dist-packages/manager/web/views.py", line 134, in get
  data = signing.loads(token, key=secret, salt="fuss_manager.auth", max_age=60)
[...]
django.core.exceptions.ImproperlyConfigured: Requested setting SECRET_KEY, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings.

perché secret è None

Also available in: Atom PDF