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
Pipeline #10477 passed with stage
in 39 minutes and 23 seconds
......@@ -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')
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment