Don't echo seeded password in test data generator

CodeQL flags the value as clear-text logging of sensitive info. Print the
username and reference the --password flag instead of its value.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Georges-Antoine Assi
2026-06-23 21:47:02 -04:00
parent 18527c65a5
commit f5633f8dbe

View File

@@ -1461,7 +1461,8 @@ def main() -> int:
print(f" {'images (png)':<20} {images_written:>12,}")
if not args.dry_run and user_rows:
print(
f"\nLogin with username '{user_rows[0]['username']}' / password '{args.password}'."
f"\nLogin with username '{user_rows[0]['username']}' "
"and the password passed via --password (default: 'password')."
)
return 0