jumpserver/utils/unblock_all_user.sh

11 lines
173 B
Bash
Raw Normal View History

2018-07-26 11:30:37 +00:00
#!/bin/bash
#
python ../apps/manage.py shell << EOF
from django.core.cache import cache
cache.delete_pattern('_LOGIN_BLOCK_*')
cache.delete_pattern('_LOGIN_LIMIT_*')
EOF