Skip to content

Commit

Permalink
fix: do not display passwords in logs (#1109)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexandrePicosson authored Jun 16, 2022
1 parent c6d71b6 commit b2fa8c4
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed

- failure_report KeyError when updating compute task (localrep sync) (#1092)
- password displayed when running django commands to add users (#1109)

### Added

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,3 @@ def handle(self, *args, **options):

self.stdout.write(self.style.SUCCESS("organization successfully created"))
self.stdout.write(f"organization_id={incoming_organization.organization_id}")
self.stdout.write(f"secret={incoming_organization.secret}")
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,3 @@ def handle(self, *args, **options):

self.stdout.write(self.style.SUCCESS("outgoing organization successfully created"))
self.stdout.write(f"organization_id={outgoing_organization.organization_id}")
self.stdout.write(f"secret={outgoing_organization.secret}")
2 changes: 1 addition & 1 deletion backend/users/management/commands/add_user.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ def handle(self, *args, **options):
self.stderr.write(f"User already exists: {str(e)}")
else:
Channel.objects.create(user=user, name=channel_name)
self.stdout.write(f"password: {password}")
self.stdout.write(f"user created {username}")

0 comments on commit b2fa8c4

Please sign in to comment.