reintroduce security
This commit is contained in:
parent
b49e70c0d2
commit
7a5fa1f09b
@ -71,7 +71,6 @@ class InselMonthlyEnergyBalance(Resource, Config):
|
||||
token = request.headers.get('token', None)
|
||||
application_uuid = request.headers.get('application-uuid', None)
|
||||
_session = refresh_session(session_id, token, application_uuid)
|
||||
_session = {'token': token}
|
||||
if _session is None:
|
||||
return Response(json.dumps({'error': 'unauthorized'}), status=403)
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user