Skip to content

Commit

Permalink
Merge pull request #4850 from freedomofpress/danger-is-not-enough
Browse files Browse the repository at this point in the history
Stronger warning against using `manage.py reset`
  • Loading branch information
zenmonkeykstop authored Sep 23, 2019
2 parents 9f32d46 + 63245c3 commit daebfed
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions securedrop/manage.py
Original file line number Diff line number Diff line change
Expand Up @@ -361,8 +361,9 @@ def get_args():
delete_user_subp_a.set_defaults(func=delete_user)

# Reset application state
reset_subp = subps.add_parser('reset', help='DANGER!!! Clears the '
"SecureDrop application's state.")
reset_subp = subps.add_parser('reset', help='DANGER!!! ONLY FOR DEVELOPMENT '
'USE. DO NOT USE IN PRODUCTION. Clears the '
"SecureDrop application\'s state.")
reset_subp.set_defaults(func=reset)
# Cleanup the SD temp dir
set_clean_tmp_parser(subps, 'clean-tmp')
Expand Down

0 comments on commit daebfed

Please sign in to comment.