Skip to content

Commit

Permalink
chore(session): removed auto-deletion of session data
Browse files Browse the repository at this point in the history
  • Loading branch information
ronilrufo-domain committed Jul 3, 2024
1 parent b43fff9 commit 055c701
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions s3direct/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,9 +138,6 @@ def generate_aws_v4_signature(request):
aws_credentials = get_aws_credentials()
access_key = aws_credentials.access_key
secret_key = aws_credentials.secret_key
else:
for key in ["aws_access_key_id", "aws_secret_access_key"]:
del request.session[key]

if not secret_key or not access_key:
resp = json.dumps({"error": "AWS credentials config missing."})
Expand Down

0 comments on commit 055c701

Please sign in to comment.