mirror of
https://github.com/rommapp/romm.git
synced 2026-06-28 06:46:00 +00:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user