Skip to content
Snippets Groups Projects
Commit ae95462c authored by Flavio TARSETTI's avatar Flavio TARSETTI
Browse files

[accounts/utils - management] added daily cron actions to clean invalid users - no input default

parent c4f3c7d2
No related branches found
No related tags found
1 merge request!224Security accounts
Pipeline #
......@@ -47,7 +47,7 @@ class Command(BaseCommand):
help = 'Cleanup outdated invalid users'
def add_arguments(self, parser):
parser.add_argument('--noinput', action='store_false', dest='interactive', default=True,
parser.add_argument('--noinput', action='store_false', dest='interactive', default=False,
help=('Tells Django to NOT prompt the user for input of any kind.'))
......
......@@ -52,3 +52,6 @@ class Command(BaseCommand):
# Send report cleanup warnings and cleanup reports
call_command('send_report_cleanup_warning_and_cleanup')
# Clean and remove invalid users
call_command('clean_invalid_users')
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment